From patchwork Sun May 22 21:43:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 5633 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4L5v8l6h8Kz3wcf for ; Sun, 22 May 2022 21:43:19 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4L5v8S3kLcz2gW; Sun, 22 May 2022 21:43:04 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4L5v8S3PrCz2ymS; Sun, 22 May 2022 21:43:04 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4L5v8R1DYbz2xxL for ; Sun, 22 May 2022 21:43:03 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4L5v8Q6TRyz191; Sun, 22 May 2022 21:43:02 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1653255783; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=IFsHfSBk9SHzH1A/D9EVL0WAEy+ruZw9rjF8ltSpFk4=; b=DTh53OAYC2ncv1Zbea864qhzu0YeEZV4RDSQgmZySsYBM01lrsAZFm5CT7eJ5AshfdgmzI D8kkcKMeYpkE+gBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1653255783; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=IFsHfSBk9SHzH1A/D9EVL0WAEy+ruZw9rjF8ltSpFk4=; b=kzva8dN416dU7PzrmYVmtjoP4h4oMFy620jWru/7q26WePsZ1MqukJVfnChnovN+DELDqK Bf/nz0FNu9WqOSDXRrFJTfZsOhry7KJ3veZicoQ6mHQ1NeRyNmVr91oAJhKqOzv2rBIj27 m9sFEX4L7MBY+8igLOxa6MLTYxw43RdtU1+9MCiEpsaL3LBO5GYJ7wgThsOBydD5yUINek Ab7K5ubEMh95hu5LA/RsjEg5D32gZDx6fP7wY+yHfZYAvL/S5JulZGfljmYhZ9bFdAFkpa pzA8oJHJm1LMg/tOy3mN8Iz0C8yMeKGRX0RF0Fbz1cTFhsp7I17n2ile40Uprw== From: Adolf Belka 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 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - 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 Reviewed-by: Peter Müller --- 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)