aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gdb/patches
Commit message (Collapse)AuthorAgeFilesLines
* toolchain/gdb: fix broken configure test for ELF supportFelix Fietkau2021-05-181-0/+20
| | | | | | A missing #include was causing gdb on macOS to be compiled without ELF support Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain: gdb: Disable testsHauke Mehrtens2020-11-011-21/+0
| | | | | | | | Instead of patching the tests out, just remove them with a configure option. No files were generates in the testsuite and unit-test directories. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* toolchain: gdb: Update to version 10.1Hauke Mehrtens2020-11-013-32/+8
| | | | | | | | | | | gdb 10.1 adds many new features for example gdbserver support for - ARC GNU/Linux - RISC-V GNU/Linux Removed this patch, because similar changes are now integrated upstream: toolchain/gdb/patches/100-no_extern_inline.patch Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* toolchain/gdb: bump to 8.3.1Koen Vandeputte2019-10-153-14/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* toolchain/gdb: bump to 8.2Koen Vandeputte2018-09-072-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | *** 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>
* toolchain/gdb: bump to 8.1.1Koen Vandeputte2018-08-012-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) GDB 8.1 includes the following changes and enhancements: * Breakpoints on C++ functions are now set on all scopes by default ("wild" matching); * Support for inserting breakpoints on functions marked with C++ ABI tags; * Target floating-point arithmetic emulation during expression evaluation (requires MPFR 3.1 or later); * Various Python Scripting enhancements; * Improved Rust support; in particular, Trait objects can now be inspected when debugging Rust code; * GDB no longer makes assumptions about the type of symbols without debugging information to avoid producing erroneous and often confusing results; * The 'enable' and 'disable' commands now accept a range of breakpoint locations; * New 'starti' command to start the program at the first instruction; * New 'rbreak' command to insert a number of breakpoints via a regular expression pattern (requires Python); * The 'ptype' command now supports printing the offset and size of the fields in a struct; * The 'gcore' command now supports dumping all the memory mappings ('-a' command-line option); * New shortcuts for TUI Single-Key mode: 'i' for stepi, and 'o' for nexti; * GDBserver enhancements: ** Support for transmitting environment variables to GDBserver; ** Support for starting inferior processes with a specified initial working directory; ** On Unix systems, support for globbing expansion and variable substitution of inferior command-line arguments; * Various completion enhancements; * The command used to compile and inject code with the 'compile' command is now configurable; * New '--readnever' command-line option to speed the GDB startup when debugging information is not needed; * Support for the following new native configurations: ** FreeBSD/aarch64 (aarch64*-*-freebsd*); ** FreeBSD/arm (arm*-*-freebsd*); * Support for the following new targets: ** FreeBSD/aarch64 (aarch64*-*-freebsd*); ** FreeBSD/arm (arm*-*-freebsd*); ** OpenRISC ELF (or1k*-*-elf) * Removed support for the following targets and native configurations: ** Solaris2/x86 (i?86-*-solaris2.[0-9]); ** Solaris2/sparc (sparc*-*-solaris2.[0-9]); Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* toolchain/gdb: update to version 8.0.1Ryan Mounce2017-09-292-3/+3
| | | | | | | | Fixes CVE-2017-9778. Signed-off-by: Ryan Mounce <ryan@mounce.com.au> [reference fixed CVE] Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* Revert "toolchain/gdb: update to version 8.0.1"Stijn Tintel2017-09-252-3/+3
| | | | | | | | | | Since version 8.0, gdb requires at least gcc 4.8. Unfortunately some of the buildbot slaves don't meet this requirement, and fail to build LEDE after the gdb upgrade. Revert to the previous gdb version for now. This reverts commit 592abe9ef53f921554d48085d6482d4507b3e142. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* toolchain/gdb: update to version 8.0.1Ryan Mounce2017-09-252-3/+3
| | | | | | | | Fixes CVE-2017-9778. Signed-off-by: Ryan Mounce <ryan@mounce.com.au> [reference fixed CVE] Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* toolchain/gdb: update to version 7.12Felix Fietkau2016-10-242-3/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain/gdb: reorganize patch layoutFelix Fietkau2016-07-156-64/+0
| | | | | | | | Use ./patches and ./patches-arc instead of version dependent patches. We should have only one main supported version (along with the special case for arc). Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain/gdb: Use correct folder name for ARC patchesAlexey Brodkin2016-06-134-13/+0
| | | | | | | | | | | Even though ARC tools were released as arc-2016.03 we have a little bit different version name for GDB. That's because both Binutils and GDB come from the same git repo but from different branches (and so different tags). Also removing an extra patch that made its way into release. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* toolchain: Bump ARC tools to arc-2016.03Alexey Brodkin2016-05-194-5/+18
| | | | | | | | | | | | | | | | | This change switches ARC tools to the most recent arc-2016.03 version. ARC GNU tools of version arc-2016.03 bring some quite significant changes like: * Binutils v2.26+ (upstream commit id 202ac19 with additional ARC * patches) * GCC v4.8.5 * GDB 7.10 More about changes, improvements and fixes could be found here: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2016.03 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* toolchain/gdb: Update to 7.11John Crispin2016-03-103-3/+3
| | | | | | | | Update gdb to version 7.11 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 48989
* toolchain/gdb: update to 7.10.1John Crispin2016-02-123-0/+0
| | | | | | | | | Minor bugfix update, released in Dec 2015 https://www.gnu.org/software/gdb/news/ Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 48708
* gdb: use separate patches for upstream and ARC gdbFelix Fietkau2015-11-176-0/+64
| | | | | | | | | | | | | | | | | | | With bump of upstream GDB from 7.9 to 7.10 at least 100-no_extern_inline.patch became incompatible with ARC gdb (which is still based on upstream 7.9 branch). So until ARC support is not completely upstreamed (which we expect to happen in coming months) we'll need to have separate patches for ARC gdb. This time clean build-tested for Netgear WNDRMAC & AXS101. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Felix Fietkau <nbd@openwrt.org> Cc: John Crispin <blogic@openwrt.org> Cc: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47491
* toolchain/gdb: update to 7.10, sync with target package versionFelix Fietkau2015-11-063-5/+5
| | | | | | | | | Update toolchain gdb to 7.10. Refresh patches. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 47396
* toolchain/gdb: update to 7.8, sync with target package versionFelix Fietkau2015-07-105-43/+32
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46296
* toolchain/gdb: remove use of extern inline to fix build errorsFelix Fietkau2013-10-281-0/+32
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38566
* upgrade to 7.6-2013.05Imre Kaloz2013-09-113-30/+8
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 37943
* add preliminary support for muslFlorian Fainelli2012-11-231-0/+22
| | | | | | | | Musl is an alternative C-library, see http://www.musl-libc.org for more infos. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34314
* gdb: update to 7.5-2012.09Florian Fainelli2012-10-131-12/+13
| | | | SVN-Revision: 33757
* toolchain/gdb: fix compile for powerpc targets, refresh patchFelix Fietkau2011-06-112-10/+17
| | | | SVN-Revision: 27155
* update gdb to 7.2Florian Fainelli2011-02-191-24/+28
| | | | | | | | This patch updates the toolchain gdb from 6.8 to 7.2 Signed-off-by: Steve Brown <sbrown@cortland.com> SVN-Revision: 25585
* upgrade the cross-gdb to 6.8 (patch from #4701)Felix Fietkau2009-02-2828-4047/+31
| | | | SVN-Revision: 14697
* fix gdb compileFelix Fietkau2009-01-131-0/+11
| | | | SVN-Revision: 14015
* add arm fix for gdb from #1468Felix Fietkau2007-05-071-0/+113
| | | | SVN-Revision: 7127
* finally move buildroot-ng to trunkFelix Fietkau2016-03-2025-0/+3923