gdb: Update to version 12.1

Message ID 20220522214300.2766630-1-adolf.belka@ipfire.org
State Accepted
Commit 9c51f71f2f915372b755c0e53998c0595b8bc463
Headers show
Series gdb: Update to version 12.1 | expand

Commit Message

Adolf Belka May 22, 2022, 9:43 p.m. UTC
- Update from version 11.2 to 12.1
- Update of rootfile
- Changelog
   GDB 12.1 Released!
    This version of GDB includes the following changes and enhancements:
        New support for the following native configuration:
            GNU/Linux/OpenRISC or1k*-*-linux*
        New support for the following targets:
            GNU/Linux/LoongArch loongarch*-*-linux*
        New GDBserver support on the following configuration:
            GNU/Linux/OpenRISC or1k*-*-linux*
        Support for the following target has been removed:
            S+core score-*-*
        Multithreaded symbol loading is now enabled by default
        Deprecation Notices:
            GDB 12 is the last release of GDB that will support building against Python 2
            DBX mode is deprecated, and will be removed in GDB 13
        GDB/MI changes:
            The '-add-inferior' with no option flags now inherits the connection of the
             current inferior, this restores the behaviour of GDB as it was prior to
             GDB 10.
            The '-add-inferior' command now accepts a '--no-connection' option, which
             causes the new inferior to start without a connection.
        Python API enhancements:
            It is now possible to add GDB/MI commands implemented in Python
            New function gdb.Architecture.integer_type()
            New gdb.events.gdb_exiting event
            New 'gdb.events.connection_removed' event registry
            New gdb.TargetConnection object
            New gdb.Inferior.connection property
            New read-only attribute gdb.InferiorThread.details
            New gdb.RemoteTargetConnection.send_packet method
            New read-only attributes gdb.Type.is_scalar and gdb.Type.is_signed
            The gdb.Value.format_string method now takes a 'styling' argument
            Various new function in the "gdb" module
        Miscellaneous:
            The FreeBSD native target now supports async mode
            Improved C++ template support
            Support for disabling source highlighting through GNU of the Pygments
             library instead.
            The "print" command has been changed so as to print floating-point values
             with a base-modifying formats such as "/x" to display the underlying bytes
             of the value in the desired base.
            The "clone-inferior" command now ensures that the TTY, CMD and ARGS settings
             are copied from the original inferior to the new one. All modifications to
             the environment variables done using the 'set environment' or 'unset
             environment' commands are also copied to the new inferior.
            Various new commands have been introduced
   GDB 11.2 Released!
    This is a minor corrective release over GDB 11.1, fixing the following issues:
        PR sim/28302 (gdb fails to build with glibc 2.34)
        PR build/28318 (std::thread support configure check does not use CXX_DIALECT)
        PR gdb/28405 (arm-none-eabi: internal-error: ptid_t
           remote_target::select_thread_for_ambiguous_stop_reply(const target_waitstatus*):
           Assertion `first_resumed_thread != nullptr' failed)
        PR tui/28483 ([gdb/tui] breakpoint creation not displayed)
        PR build/28555 (uclibc compile failure since commit
           4655f8509fd44e6efabefa373650d9982ff37fd6)
        PR rust/28637 (Rust characters will be encoded using DW_ATE_UTF)
        PR gdb/28758 (GDB 11 doesn't work correctly on binaries with a SHT_RELR
           (.relr.dyn) section)
        PR gdb/28785 (Support SHT_RELR (.relr.dyn) section)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/gdb | 5 ++---
 lfs/gdb                     | 4 ++--
 2 files changed, 4 insertions(+), 5 deletions(-)

Comments

Peter Müller May 30, 2022, 7:17 p.m. UTC | #1
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> - Update from version 11.2 to 12.1
> - Update of rootfile
> - Changelog
>    GDB 12.1 Released!
>     This version of GDB includes the following changes and enhancements:
>         New support for the following native configuration:
>             GNU/Linux/OpenRISC or1k*-*-linux*
>         New support for the following targets:
>             GNU/Linux/LoongArch loongarch*-*-linux*
>         New GDBserver support on the following configuration:
>             GNU/Linux/OpenRISC or1k*-*-linux*
>         Support for the following target has been removed:
>             S+core score-*-*
>         Multithreaded symbol loading is now enabled by default
>         Deprecation Notices:
>             GDB 12 is the last release of GDB that will support building against Python 2
>             DBX mode is deprecated, and will be removed in GDB 13
>         GDB/MI changes:
>             The '-add-inferior' with no option flags now inherits the connection of the
>              current inferior, this restores the behaviour of GDB as it was prior to
>              GDB 10.
>             The '-add-inferior' command now accepts a '--no-connection' option, which
>              causes the new inferior to start without a connection.
>         Python API enhancements:
>             It is now possible to add GDB/MI commands implemented in Python
>             New function gdb.Architecture.integer_type()
>             New gdb.events.gdb_exiting event
>             New 'gdb.events.connection_removed' event registry
>             New gdb.TargetConnection object
>             New gdb.Inferior.connection property
>             New read-only attribute gdb.InferiorThread.details
>             New gdb.RemoteTargetConnection.send_packet method
>             New read-only attributes gdb.Type.is_scalar and gdb.Type.is_signed
>             The gdb.Value.format_string method now takes a 'styling' argument
>             Various new function in the "gdb" module
>         Miscellaneous:
>             The FreeBSD native target now supports async mode
>             Improved C++ template support
>             Support for disabling source highlighting through GNU of the Pygments
>              library instead.
>             The "print" command has been changed so as to print floating-point values
>              with a base-modifying formats such as "/x" to display the underlying bytes
>              of the value in the desired base.
>             The "clone-inferior" command now ensures that the TTY, CMD and ARGS settings
>              are copied from the original inferior to the new one. All modifications to
>              the environment variables done using the 'set environment' or 'unset
>              environment' commands are also copied to the new inferior.
>             Various new commands have been introduced
>    GDB 11.2 Released!
>     This is a minor corrective release over GDB 11.1, fixing the following issues:
>         PR sim/28302 (gdb fails to build with glibc 2.34)
>         PR build/28318 (std::thread support configure check does not use CXX_DIALECT)
>         PR gdb/28405 (arm-none-eabi: internal-error: ptid_t
>            remote_target::select_thread_for_ambiguous_stop_reply(const target_waitstatus*):
>            Assertion `first_resumed_thread != nullptr' failed)
>         PR tui/28483 ([gdb/tui] breakpoint creation not displayed)
>         PR build/28555 (uclibc compile failure since commit
>            4655f8509fd44e6efabefa373650d9982ff37fd6)
>         PR rust/28637 (Rust characters will be encoded using DW_ATE_UTF)
>         PR gdb/28758 (GDB 11 doesn't work correctly on binaries with a SHT_RELR
>            (.relr.dyn) section)
>         PR gdb/28785 (Support SHT_RELR (.relr.dyn) section)
> 
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
>  config/rootfiles/common/gdb | 5 ++---
>  lfs/gdb                     | 4 ++--
>  2 files changed, 4 insertions(+), 5 deletions(-)
> 
> diff --git a/config/rootfiles/common/gdb b/config/rootfiles/common/gdb
> index 4c91357ec..e1f87549e 100644
> --- a/config/rootfiles/common/gdb
> +++ b/config/rootfiles/common/gdb
> @@ -4,9 +4,6 @@
>  #usr/bin/gdbserver
>  #usr/include/gdb
>  #usr/include/gdb/jit-reader.h
> -#usr/include/sim
> -#usr/include/sim/callback.h
> -#usr/include/sim/sim.h
>  #usr/lib/libinproctrace.so
>  #usr/share/gdb
>  #usr/share/gdb/python
> @@ -34,6 +31,7 @@
>  #usr/share/gdb/python/gdb/printer/bound_registers.py
>  #usr/share/gdb/python/gdb/printing.py
>  #usr/share/gdb/python/gdb/prompt.py
> +#usr/share/gdb/python/gdb/styling.py
>  #usr/share/gdb/python/gdb/types.py
>  #usr/share/gdb/python/gdb/unwinder.py
>  #usr/share/gdb/python/gdb/xmethod.py
> @@ -58,6 +56,7 @@
>  #usr/share/gdb/system-gdbinit/elinos.py
>  #usr/share/gdb/system-gdbinit/wrs-linux.py
>  #usr/share/info/annotate.info
> +#usr/share/info/ctf-spec.info
>  #usr/share/info/gdb.info
>  #usr/share/info/gdb.info-1
>  #usr/share/info/gdb.info-2
> diff --git a/lfs/gdb b/lfs/gdb
> index e8d4f90e3..f36e52c8c 100644
> --- a/lfs/gdb
> +++ b/lfs/gdb
> @@ -24,7 +24,7 @@
>  
>  include Config
>  
> -VER        = 11.2
> +VER        = 12.1
>  
>  THISAPP    = gdb-$(VER)
>  DL_FILE    = $(THISAPP).tar.xz
> @@ -40,7 +40,7 @@ objects = $(DL_FILE)
>  
>  $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>  
> -$(DL_FILE)_BLAKE2 = 66ce7e12c99c33c8b4e6ababa673204aab525e72c90ba54cc34a5fd69948a09dc2a9ef2050764b2464544231b1d1a6431279c2877388551ca6fbf384a3f9b464
> +$(DL_FILE)_BLAKE2 = 7f6f853d1640908cf2c79932cdc1ba02549a07721c005d9c7ce2946a715761719cc164a4e68235a18664ec8a029afe3a2a0cfb57e1635f280076d6bed91317fd
>  
>  install : $(TARGET)
>

Patch

diff --git a/config/rootfiles/common/gdb b/config/rootfiles/common/gdb
index 4c91357ec..e1f87549e 100644
--- a/config/rootfiles/common/gdb
+++ b/config/rootfiles/common/gdb
@@ -4,9 +4,6 @@ 
 #usr/bin/gdbserver
 #usr/include/gdb
 #usr/include/gdb/jit-reader.h
-#usr/include/sim
-#usr/include/sim/callback.h
-#usr/include/sim/sim.h
 #usr/lib/libinproctrace.so
 #usr/share/gdb
 #usr/share/gdb/python
@@ -34,6 +31,7 @@ 
 #usr/share/gdb/python/gdb/printer/bound_registers.py
 #usr/share/gdb/python/gdb/printing.py
 #usr/share/gdb/python/gdb/prompt.py
+#usr/share/gdb/python/gdb/styling.py
 #usr/share/gdb/python/gdb/types.py
 #usr/share/gdb/python/gdb/unwinder.py
 #usr/share/gdb/python/gdb/xmethod.py
@@ -58,6 +56,7 @@ 
 #usr/share/gdb/system-gdbinit/elinos.py
 #usr/share/gdb/system-gdbinit/wrs-linux.py
 #usr/share/info/annotate.info
+#usr/share/info/ctf-spec.info
 #usr/share/info/gdb.info
 #usr/share/info/gdb.info-1
 #usr/share/info/gdb.info-2
diff --git a/lfs/gdb b/lfs/gdb
index e8d4f90e3..f36e52c8c 100644
--- a/lfs/gdb
+++ b/lfs/gdb
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 11.2
+VER        = 12.1
 
 THISAPP    = gdb-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -40,7 +40,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 66ce7e12c99c33c8b4e6ababa673204aab525e72c90ba54cc34a5fd69948a09dc2a9ef2050764b2464544231b1d1a6431279c2877388551ca6fbf384a3f9b464
+$(DL_FILE)_BLAKE2 = 7f6f853d1640908cf2c79932cdc1ba02549a07721c005d9c7ce2946a715761719cc164a4e68235a18664ec8a029afe3a2a0cfb57e1635f280076d6bed91317fd
 
 install : $(TARGET)