From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka <adolf.belka@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH] gdb: Update to version 12.1 Date: Sun, 22 May 2022 23:43:00 +0200 Message-ID: <20220522214300.2766630-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5441720764904024906==" List-Id: <development.lists.ipfire.org> --===============5441720764904024906== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - 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 agai= nst 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 connect= ion of the current inferior, this restores the behaviour of GDB as it was p= rior to GDB 10. The '-add-inferior' command now accepts a '--no-connection' optio= n, 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 Pygm= ents library instead. The "print" command has been changed so as to print floating-poin= t values with a base-modifying formats such as "/x" to display the underl= ying bytes of the value in the desired base. The "clone-inferior" command now ensures that the TTY, CMD and AR= GS settings are copied from the original inferior to the new one. All modifi= cations to the environment variables done using the 'set environment' or 'u= nset 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 is= sues: 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 !=3D 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_RE= LR (.relr.dyn) section) PR gdb/28785 (Support SHT_RELR (.relr.dyn) section) Signed-off-by: Adolf Belka <adolf.belka(a)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 @@ =20 include Config =20 -VER =3D 11.2 +VER =3D 12.1 =20 THISAPP =3D gdb-$(VER) DL_FILE =3D $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_BLAKE2 =3D 66ce7e12c99c33c8b4e6ababa673204aab525e72c90ba54cc34a5f= d69948a09dc2a9ef2050764b2464544231b1d1a6431279c2877388551ca6fbf384a3f9b464 +$(DL_FILE)_BLAKE2 =3D 7f6f853d1640908cf2c79932cdc1ba02549a07721c005d9c7ce294= 6a715761719cc164a4e68235a18664ec8a029afe3a2a0cfb57e1635f280076d6bed91317fd =20 install : $(TARGET) =20 --=20 2.36.1 --===============5441720764904024906==--