aboutsummaryrefslogtreecommitdiffstats
path: root/package/devel/gdb/patches
Commit message (Collapse)AuthorAgeFilesLines
* gdb: bump to 8.3.1Koen Vandeputte2019-10-154-26/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GDB 8.3.1 brings the following fixes and enhancements over GDB 8.3: PR c++/20020 (GDB segfault on printing objects) PR gdb/24454 (nat/x86-linux-dregs.c failed assertion) PR breakpoints/24541 (Incorrect evaluation of systemtap probes due to register being signed and probe expression assuming unsigned) PR symtab/24545 (Symbol loading performance regression with cc1) PR gdb/24592 (amd64->i386 linux syscall restart problem) PR gdb/25009 (terminate called after throwing an instance of 'srchilite::ParserException') PR gdb/25010 (Calls to error () can cause SIGTTOU to send gdb to the background) PR breakpoints/25011 (Breakpoints on file reloads broken for PIE binaries) This corrective release also brings the following testsuite fixes and enhancements: PR testsuite/25005 (gdb-caching-proc.exp takes a lot of time on skip_opencl_tests) PR testsuite/25016 (Test-case failures for -pie) GDB 8.3 includes the following changes and enhancements: * Support for new native configurations (also available as a target configuration): - RISC-V GNU/Linux (riscv*-*-linux*) - RISC-V FreeBSD (riscv*-*-freebsd*) * Support for new target configurations: - CSKY ELF (csky*-*-elf) - CSKY GNU/Linux (csky*-*-linux) - NXP S12Z ELF (s12z-*-elf) - OpenRISC GNU/Linux (or1k*-*-linux*) * Native Windows debugging is only supported on Windows XP or later. * The Python API in GDB now requires Python 2.6 or later. * GDB now supports terminal styling for the CLI and TUI. Source highlighting is also supported by building GDB with GNU Highlight. * Experimental support for compilation and injection of C++ source code into the inferior (requires GCC 7.1 or higher, built with libcp1.so). * GDB and GDBserver now support IPv6 connections. * Target description support on RISC-V targets. * Various enhancements to several commands: - "frame", "select-frame" and "info frame" commands - "info functions", "info types", "info variables" - "info thread" - "info proc" - System call alias catchpoint support on FreeBSD - "target remote" support for Unix Domain sockets. * Support for displaying all files opened by a process * DWARF index cache: GDB can now automatically save indices of DWARF symbols on disk to speed up further loading of the same binaries. * Various GDB/MI enhancements. * GDBserver on PowerPC GNU/Linux now supports access to the PPR, DSCR, TAR, EBB/PMU, and HTM registers. * Ada task switching support when debugging programs built with the Ravenscar profile added to aarch64-elf. * GDB in batch mode now exits with status 1 if the last executed command failed. * Support for building GDB with GCC's Undefined Behavior Sanitizer. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* gdb: The signal definitions of musl and gdb collideHauke Mehrtens2019-01-121-0/+44
| | | | | | | | | | | | | | This fixes compilation of gdb on arm64. The kernel defines "struct sigcontext" in asm/sigcontext.h and musl libc defines it in signal.h, which collides. Kernel 4.14 misses the definitions of struct user_sve_header so we still have to use the aarch64-sve-linux-sigcontext.h header file which also provides that and make sure aarch64-sve-linux-sigcontext.h does not provide the same headers as the kernel or musl. Fixes: FS#2040 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* gdb: bump to 8.2Koen Vandeputte2018-09-072-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | *** Changes in GDB 8.2 Support for the following target has been added: RiscV ELF (riscv*-*-elf) Support for following targets and native configurations has been removed: m88k running OpenBSD (m88*-*-openbsd*) SH-5/SH64 ELF (sh64-*-elf*) SH-5/SH64 (sh*) SH-5/SH64 running GNU/Linux (sh*-*-linux*) SH-5/SH64 running OpenBSD (sh*-*-openbsd*) Various Python API enhancements Aarch64/Linux enhancements: SVE support. Hardware watchpoints improvements for entities stored at unaligned addresses. New "c" response to disable the pager for the rest of the current command. C expressions can now use _Alignof, and C++ expressions can now use alignof. Improved flexibility for loading symbol files. The 'info proc' command nows works on running processes on FreeBSD systems as well as core files created on FreeBSD systems. A new --enable-codesign=CERT configure option to automatically codesign GDB after build (useful on MacOS X). Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* gdb: bump to 8.1.1Koen Vandeputte2018-08-012-7/+7
| | | | | | | | | | | | | | | GDB 8.1.1 brings the following fixes and enhancements over GDB 8.1: * PR gdb/22824 (misleading description of new rbreak Python function in GDB 8.1 NEWS file) * PR gdb/22849 (ctrl-c doesn't work in extended-remote) * PR gdb/22907 ([Regression] gdbserver doesn't work with filename-only binaries) * PR gdb/23028 (inconsistent disassemble of vcvtpd2dq) * PR gdb/23053 (Fix -D_GLIBCXX_DEBUG gdb-add-index regression) * PR gdb/23127 ([AArch64] GDB cannot be used for debugging software that uses high Virtual Addresses) * PR server/23158 (gdbserver no longer functional on Windows) * PR breakpoints/23210 ([8.1/8.2 Regression] Bogus Breakpoint address adjusted from 0xf7fe7dd3 to 0xfffffffff7fe7dd3) Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* gdb: bump to 8.0.1Stijn Tintel2017-09-292-11/+6
| | | | | | | | | | Add -static-libstdc++ to TARGET_LDFLAGS to avoid a hard dependency on libstdc++, and -Wl,--gc-sections to further reduce the size on platforms that support it. Fixes CVE-2017-9778. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* gdb: fix invalid sigprocmask callYousong Zhou2017-03-241-0/+43
| | | | | | Fixes FS#637 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* gdb: update to version 7.12.1, fix glibc 2.25 build issuesFelix Fietkau2017-02-113-2/+78
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Revert "gdb: fix build with gcc 4.1.2 as host compiler"Hauke Mehrtens2017-01-071-16/+0
| | | | | | | | Support for such old gcc version is not needed. This reverts commit 2694d43b052a1bf1721ae477dcdbe787f5995d35. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* gdb: fix build with gcc 4.1.2 as host compilerHauke Mehrtens2016-08-011-0/+16
| | | | | | | | | | | | | | | | | | | | The additional warnings are causing compile errors on gcc version 4.1.2 as a host compiler. cc -c -Wall -Wdeclaration-after-statement -Wpointer-arith -Wpointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type -Wold-style-declaration -Wold- style-definition -Wformat-nonliteral -I. -I. -I./../../include filter_host.c cc1: error: unrecognized command line option "-Wempty-body" cc1: error: unrecognized command line option "-Wmissing-parameter-type" cc1: error: unrecognized command line option "-Wold-style-declaration" cc1: error: unrecognized command line option "-Wempty-body" cc1: error: unrecognized command line option "-Wmissing-parameter-type" cc1: error: unrecognized command line option "-Wold-style-declaration" Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* package/devel/gdb: Update to 7.11John Crispin2016-03-101-1/+1
| | | | | | | | Update gdb to version 7.11 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 48990
* gdb: fix powerpc build issues with muslFelix Fietkau2016-02-161-0/+25
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48731
* gdb: update to the latest version, fixes a build error with gcc 5.2Felix Fietkau2015-09-034-90/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46775
* gdb: fix compilation for x86_64 with muslSteven Barth2015-07-071-0/+64
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46249
* gdb: fix build failure on armNicolas Thill2014-10-241-0/+22
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 43042
* gdb: update to version 7.8, fix musl buildFelix Fietkau2014-10-192-3/+31
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42979
* gdb: fix debugging of MIPS(el) applicationsFlorian Fainelli2012-11-191-0/+16
| | | | | | | | | | | | | | GDB previously failed with the following: root@OpenWrt:/# gdb busybox [snip] (gdb) r Starting program: /bin/busybox GDB bug: target.c (gdb_signal_from_host): unrecognized real-time signal Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34258
* gdb: update to version 7.5Felix Fietkau2012-10-291-12/+0
| | | | SVN-Revision: 33998
* gdb: fix patch directory after r33706Florian Fainelli2012-10-131-0/+12
git-svn did not properly track this move, thanks to swalker for noticing. SVN-Revision: 33745