summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb/gdb.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-02-22 16:38:30 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-24 11:04:28 +0000
commite7dd0666bd464756cf72fb1bedf70482b95ec819 (patch)
tree14f05f3ffa14e6ca29ed614b5a0092f8724f24bb /meta/recipes-devtools/gdb/gdb.inc
parenteb6b28bfe173d00db54b7001d60a7039ba29a450 (diff)
downloadpoky-e7dd0666bd464756cf72fb1bedf70482b95ec819.tar.gz
gdb: Upgrade to 13.1
Add patch to fix typo for build on musl GDB 13.1 includes the following changes and enhancements: * Support for the following new targets has been added in both GDB and GDBserver: ** GNU/Linux/LoongArch (gdbserver) loongarch*-*-linux* ** GNU/Linux/CSKY (gdbserver) csky*-*linux* * The Windows native target now supports target async. * FreeBSD: ** Arm and AArch64: Support for Thread Local Storage (TLS) variables ** Hardware watchpoint support on AArch64 FreeBSD * Floating-point support has now been added on LoongArch GNU/Linux. * New commands: ** set print nibbles [on|off] show print nibbles This controls whether the 'print/t' command will display binary values in groups of four bits, known as "nibbles". The default is 'off'. ** Various styling-related commands. See the gdb/NEWS file for more details (see link at the bottom). ** Various maintenance commands. These are normally aimed at GDB experts or developers. See the gdb/NEWS file for more details (see link at the bottom). * Python API improvements: ** New Python API for instruction disassembly. The new attribute 'locations' of gdb.Breakpoint returns a list of gdb.BreakpointLocation objects specifying the locations where the breakpoint is inserted into the debuggee. ** New Python type gdb.BreakpointLocation. ** New function gdb.format_address(ADDRESS, PROGSPACE, ARCHITECTURE) that formats ADDRESS as 'address <symbol+offset>' ** New function gdb.current_language that returns the name of the current language. Unlike gdb.parameter('language'), this will never return 'auto'. ** New function gdb.print_options that returns a dictionary of the prevailing print options, in the form accepted by gdb.Value.format_string. ** New method gdb.Frame.language that returns the name of the frame's language. ** gdb.Value.format_string now uses the format provided by 'print', if it is called during a 'print' or other similar operation. ** gdb.Value.format_string now accepts the 'summary' keyword. This can be used to request a shorter representation of a value, the way that 'set print frame-arguments scalars' does. ** The gdb.register_window_type method now restricts the set of acceptable window names. The first character of a window's name must start with a character in the set [a-zA-Z], every subsequent character of a window's name must be in the set [-_.a-zA-Z0-9]. * GDB/MI changes: ** MI version 1 is deprecated, and will be removed in GDB 14. ** The async record stating the stopped reason 'breakpoint-hit' now contains an optional field locno. * Miscellaneous improvements: ** gdb now supports zstd compressed debug sections (ELFCOMPRESS_ZSTD) for ELF. ** New convenience variable $_inferior_thread_count contains the number of live threads in the current inferior. ** New convenience variables $_hit_bpnum and $_hit_locno, set to the breakpoint number and the breakpoint location number of the breakpoint last hit. ** The "info breakpoints" now displays enabled breakpoint locations of disabled breakpoints as in the "y-" state. ** The format of 'disassemble /r' and 'record instruction-history /r' has changed to match the layout of GNU objdump when disassembling. A new format "/b" has been introduce to provide the old behavior of "/r". ** The TUI no longer styles the source and assembly code highlighted by the current position indicator by default. You can however re-enable styling using the new "set style tui-current-position" command. ** It is now possible to use the "document" command to document user-defined commands. ** Support for memory tag data for AArch64 MTE. * Support Removal notices: ** DBX mode has been removed. ** Support for building against Python version 2 has been removed. It is now only possible to build GDB against Python 3. ** Support for the following commands has been removed: set debug aix-solib on|off show debug aix-solib set debug solib-frv on|off show debug solib-frv Use the "set/show debug solib" commands instead. For a complete list and more details on each item, please see the gdb/NEWS file, available at [1]: [1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-13.1-release (From OE-Core rev: 87a8c2af735e06338463414a2cbcd3224b9ea112) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb.inc')
-rw-r--r--meta/recipes-devtools/gdb/gdb.inc22
1 files changed, 11 insertions, 11 deletions
diff --git a/meta/recipes-devtools/gdb/gdb.inc b/meta/recipes-devtools/gdb/gdb.inc
index a5dc554581..18603cc7d4 100644
--- a/meta/recipes-devtools/gdb/gdb.inc
+++ b/meta/recipes-devtools/gdb/gdb.inc
@@ -5,16 +5,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
5 file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674" 5 file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674"
6 6
7SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.xz \ 7SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.xz \
8 file://0001-make-man-install-relative-to-DESTDIR.patch \ 8 file://0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch \
9 file://0002-mips-linux-nat-Define-_ABIO32-if-not-defined.patch \ 9 file://0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch \
10 file://0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch \ 10 file://0003-Dont-disable-libreadline.a-when-using-disable-static.patch \
11 file://0004-Dont-disable-libreadline.a-when-using-disable-static.patch \ 11 file://0004-use-asm-sgidefs.h.patch \
12 file://0005-use-asm-sgidefs.h.patch \ 12 file://0005-Change-order-of-CFLAGS.patch \
13 file://0006-Change-order-of-CFLAGS.patch \ 13 file://0006-resolve-restrict-keyword-conflict.patch \
14 file://0007-resolve-restrict-keyword-conflict.patch \ 14 file://0007-Fix-invalid-sigprocmask-call.patch \
15 file://0008-Fix-invalid-sigprocmask-call.patch \
16 file://0009-gdbserver-ctrl-c-handling.patch \
17 file://readline-8.2.patch \
18 file://0008-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \ 15 file://0008-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \
16 file://0009-gdbserver-linux-low.cc-Fix-a-typo-in-ternary-operato.patch \
19 " 17 "
20SRC_URI[sha256sum] = "0e1793bf8f2b54d53f46dea84ccfd446f48f81b297b28c4f7fc017b818d69fed" 18SRC_URI[sha256sum] = "115ad5c18d69a6be2ab15882d365dda2a2211c14f480b3502c6eba576e2e95a0"
19
20TOOLCHAIN = "gcc"