From patchwork Mon Sep 27 15:33:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 4744 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 4HJ6904SGLz3x1J for ; Mon, 27 Sep 2021 15:33:08 +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 4HJ6901SJSz4Vg; Mon, 27 Sep 2021 15:33:08 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4HJ6900gxjz2yRM; Mon, 27 Sep 2021 15:33:08 +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 4HJ68y717cz2xfm for ; Mon, 27 Sep 2021 15:33:06 +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 4HJ68y3w3Lz7W; Mon, 27 Sep 2021 15:33:06 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1632756786; 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=TPOeLnRUF8tdyRSwPyf8JZpfYtUTYcx8he7Xynhythk=; b=W3l/UgYf6vTS2WfCoQcWNZbS2yMqqyeulKIx5OWTvW8Pv2mpYqSrVMyfZmeVEBNZrNl1M/ ShDsUPbWx1IZxXCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1632756786; 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=TPOeLnRUF8tdyRSwPyf8JZpfYtUTYcx8he7Xynhythk=; b=HtMzuBcaPZnwQjEevcslyHuAhFSHsoVKbfBG0McKbF/6Ry40aUM+zVr7CPD8WyoLrYyIaI UellW9+XyKrlUF3VeXL9ePJGCaYnNtIZOOa1UZEWUbKcPCq5VBqnleE2PgS1X4O+V4Q5Dp 4LPa9H7Iv7a8UqR0ZUBu8WuGZQ2IRIv0xFtnV4EzqRKTIdG3Yuwj0FQB9MmOx2ifFsU76M XZULWJ7pgHQBART4uYC6LiSmORrOOChy+7SsSvVrT/KnrbWzSqoNr7r9znwjRsdmOSPhhW BAOHfU+zCvY+t69D0PpiHOBHBsr27VhQ00+9+R2Hxnw0If1aFNZxh/fRsLPC8A== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] gdb: Update to version 11.1 Date: Mon, 27 Sep 2021 17:33:02 +0200 Message-Id: <20210927153302.1500525-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 10.2 to 11.1 - Update of rootfile - Changelog Version 11.1 of GDB includes the following changes and enhancements: Support for ARM Symbian (arm*-*-symbianelf*) has been removed. Building GDB now requires GMP (The GNU Multiple Precision Arithmetic Library). New command-line options "--early-init-command" (or "-eix") and "--early-init-eval-command" (or "-eiex") GDB/MI Changes: New --qualified option for the '-break-insert' and '-dprintf-insert' commands. New --force-condition option for the '-break-insert' and '-dprintf-insert' commands. New --force option for the '-break-condition' command. The '-file-list-exec-source-files' now accepts an optional regular expression to filter the source files included in the result. The results from '-file-list-exec-source-files' now include a 'debug-fully-read' field to indicate if the corresponding source's debugging information has been partially read (false) or has been fully read (true). TUI Improvements: Mouse actions are now supported. The mouse wheel scrolls the appropriate window. Key combinations that do not have a specific action on the focused window are now passed to GDB. Python enhancements: Inferior objects now contain a read-only 'connection_num' attribute that gives the connection number as seen in 'info connections' and 'info inferiors'. New method gdb.Frame.level() which returns the stack level of the frame object. New method gdb.PendingFrame.level() which returns the stack level of the frame object. When hitting a catchpoint, the Python API will now emit a gdb.BreakpointEvent rather than a gdb.StopEvent. The gdb.Breakpoint attached to the event will have type BP_CATCHPOINT. Python TUI windows can now receive mouse click events. If the Window object implements the click method, it is called for each mouse click event in this window. New setting "python ignore-environment on|off"; if "on", causes GDB's builtin Python to ignore any environment variable that would otherwise affect how Python behaves (needs to be set during "early initialization" (see above). New setting "python dont-write-bytecode auto|on|off". Guile API enhancements: Improved support for rvalue reference values. New procedures for obtaining value variants: value-reference-value, value-rvalue-reference-value and value-const-value. New "qMemTags" and "QMemTags" remote protocol packets (associated with Memory Tagging). GDB will now look for the .gdbinit file in a config directory before looking for ~/.gdbinit. The file is searched for in the following locations: $XDG_CONFIG_HOME/gdb/gdbinit, $HOME/.config/gdb/gdbinit, $HOME/.gdbinit. On Apple hosts the search order is instead: $HOME/Library/Preferences/gdb/gdbinit, $HOME/.gdbinit. The "break [...] if CONDITION" command no longer returns an error when the condition is invalid at one or more locations. Instead, if the condition is valid at one or more locations, the locations where the condition is not valid are disabled. The behavior of the "condition" command is changed to match the new behavior of the "break" command. Support for general memory tagging functionality (currently limited to AArch64 MTE) Core file debugging now supported for x86_64 Cygwin programs. New "org.gnu.gdb.riscv.vector" feature for RISC-V targets. GDB now supports fixed point types which are described in DWARF as base types with a fixed-point encoding. Additionally, support for the DW_AT_GNU_numerator and DW_AT_GNU_denominator has also been added. Miscellaneous: New "startup-quietly on|off" setting; when "on", behaves the same as passing the "-silent" option on the command line. New "print type hex on|off" setting; when 'on', the 'ptype' command uses hexadecimal notation to print sizes and offsets of struct members. When 'off', decimal notation is used. The "inferior" command, when run without argument, prints information about the current inferior. The "ptype" command now supports "/x" and "/d", affecting the base used to print sizes and offsets. The output of the "info source" has been restructured. New "style version foreground | background | intensity" commands to control the styling of the GDB version number. Various debug and maintenance commands (mostly useful for the GDB developers) Signed-off-by: Adolf Belka --- config/rootfiles/common/gdb | 11 +++++++++++ lfs/gdb | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/config/rootfiles/common/gdb b/config/rootfiles/common/gdb index d2be68c3e..4c91357ec 100644 --- a/config/rootfiles/common/gdb +++ b/config/rootfiles/common/gdb @@ -4,6 +4,9 @@ #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 @@ -56,6 +59,14 @@ #usr/share/gdb/system-gdbinit/wrs-linux.py #usr/share/info/annotate.info #usr/share/info/gdb.info +#usr/share/info/gdb.info-1 +#usr/share/info/gdb.info-2 +#usr/share/info/gdb.info-3 +#usr/share/info/gdb.info-4 +#usr/share/info/gdb.info-5 +#usr/share/info/gdb.info-6 +#usr/share/info/gdb.info-7 +#usr/share/info/gdb.info-8 #usr/share/info/stabs.info #usr/share/man/man1/gcore.1 #usr/share/man/man1/gdb-add-index.1 diff --git a/lfs/gdb b/lfs/gdb index cdbebadbd..79ed0b386 100644 --- a/lfs/gdb +++ b/lfs/gdb @@ -24,7 +24,7 @@ include Config -VER = 10.2 +VER = 11.1 THISAPP = gdb-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = c044b7146903ec51c9d2337a29aee93b +$(DL_FILE)_MD5 = 257cb0f67927f79acf636d8c01e19990 install : $(TARGET)