aboutsummaryrefslogtreecommitdiffstats
path: root/package/devel/gdb
Commit message (Collapse)AuthorAgeFilesLines
* gdb: bump to 8.3.1Koen Vandeputte2019-10-155-29/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.2.1Koen Vandeputte2019-01-071-2/+2
| | | | | | | | | | | | | | | | PR build/23516 (gdb build error under msys+mingw: strip can't handle gdb-add-index.exe) PR build/23623 (install-strip fails) PR rust/23626 (gdb crashes in upstream rust nil-enum test) PR rust/23650 (rust field name access error mentions "foo") PR gdb/23663 (gdb 8.1.1: undefined rpl_stat function with musl toolchains) PR python/23669 (gdb.execute("show commands") doesn't work) PR python/23714 (Command repetition stops working after gdb.execute) PR gdb/23838 (8.2 regression for invalid -data-directory) PR gdb/23974 ("info os" crash when specifying invalid object) PR gdb/23999 (SYMBOL_LANGUAGE assertion failure on AIX) PR gdb/24003 (Error when binary searching CUs for a specific DIE when using DWZ) Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* gdb: bump to 8.2Koen Vandeputte2018-09-073-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | *** 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-013-9/+9
| | | | | | | | | | | | | | | 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: Update to 8.1Rosen Penev2018-06-071-2/+2
| | | | | | Tested on Turris Omnia (mvebu). Signed-off-by: Rosen Penev <rosenp@gmail.com>
* add PKG_CPE_ID ids to package and toolsAlexander Couzens2017-11-171-0/+1
| | | | | | | | | | | CPE ids helps to tracks CVE in packages. https://cpe.mitre.org/specification/ Thanks to swalker for CPE to package mapping and keep tracking CVEs. Acked-by: Jo-Philipp Wich <jo@mein.io> Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* gdb: bump to 8.0.1Stijn Tintel2017-09-293-14/+13
| | | | | | | | | | 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: disable simulator ; it's broken on ppcAlexandru Ardelean2017-06-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Error is: ``` ompile-loc2c.o compile-c-support.o inflow.o init.o \ ../sim/ppc/libsim.a -lreadline ../opcodes/libopcodes.a ../bfd/libbfd.a -L./../zlib -lz ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lncurses -lm ../libiberty/libiberty.a build-gnulib/import/libgnu.a -ldl -Wl,--dynamic-list=./proc-service.list ../sim/ppc/libsim.a(idecode.o): In function `update_time_from_event': idecode.c:(.text+0x170): undefined reference to `error' ../sim/ppc/libsim.a(idecode.o): In function `event_queue_tick': idecode.c:(.text+0x1cc): undefined reference to `error' idecode.c:(.text+0x28c): undefined reference to `error' idecode.c:(.text+0x318): undefined reference to `error' ../sim/ppc/libsim.a(idecode.o): In function `cpu_halt.constprop.6': idecode.c:(.text+0x398): undefined reference to `error' ../sim/ppc/libsim.a(idecode.o):idecode.c:(.text+0x4e4): more undefined references to `error' follow collect2: error: ld returned 1 exit status Makefile:1420: recipe for target 'gdb' failed make[5]: *** [gdb] Error 1 ``` Seems others are running into this as well. The problem seems to be that some code may be built as C++ and not C, which may explain the linker error. On this thread reply: https://sourceware.org/ml/gdb/2016-11/msg00045.html it mentions that the simulator should not call GDB's "error" function directly, but rather use the "host_callback" struct. I have no idea about the use of the GDB simulator within the OpenWrt/LEDE community. So, I took the easier route, which is to disable the simulator. (Also suggested here: https://sourceware.org/ml/gdb/2016-11/msg00047.html ) If needed, I can make an effort to fix the simulator for PPC. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* gdb: remove Build/Compile rule ; default one worksAlexandru Ardelean2017-06-071-7/+0
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* gdb: fix invalid sigprocmask callYousong Zhou2017-03-242-1/+44
| | | | | | 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-114-4/+80
| | | | 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>
* treewide: clean up download hashesFelix Fietkau2016-12-161-1/+1
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* package/devel/gdb: Update to 7.11.1Hannu Nyman2016-08-151-2/+2
| | | | | | Update gdb to version 7.11.1 to match the version in toolchain. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* 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-arc: Add target GDB for ARCAlexey Brodkin2016-06-131-1/+1
| | | | | | | | | | | | | | | | ARC port of GDB is not yet upstream so we need to use sources from Synopsys GitHub repo. Given Synopys' commitment to upstream ARC support in GDB in the nearest future it might be simpler to add a separate package for ARC GDB instead of patching generic GDB package. This way once ARC GDB stuff gets uptreamed we'll only need to remove that new "gdb-arc" package. Note 1 very minor change in generic gdb package was done - it now depends on !arc (while "gdb-arc" depends on "arc"). Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* package/devel/gdb: Update to 7.11John Crispin2016-03-102-3/+3
| | | | | | | | 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
* package/devel/gdb: update to 7.10.1John Crispin2016-02-121-3/+3
| | | | | | | | | 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: 48709
* gdb: update to the latest version, fixes a build error with gcc 5.2Felix Fietkau2015-09-035-93/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46775
* gdb: fix compilation for x86_64 with muslSteven Barth2015-07-072-1/+65
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46249
* gdb: disable liblzma explictlyNicolas Thill2015-05-241-2/+3
| | | | | | | | | * fix build failure when gdb is build after liblzma * bump release number Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 45745
* build: remove obsolete references to cris and avr32Felix Fietkau2015-03-241-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44965
* license info - revert r43155John Crispin2014-11-031-3/+0
| | | | | | | | turns out that r43155 adds duplicate info. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43167
* Add more license tags with SPDX identifiersJohn Crispin2014-11-031-0/+3
| | | | | | | | | | | | | | | | | | Note, that licensing stuff is a nightmare: many packages does not clearly state their licenses, and often multiple source files are simply copied together - each with different licensing information in the file headers. I tried hard to ensure, that the license information extracted into the OpenWRT's makefiles fit the "spirit" of the packages, e.g. such small packages which come without a dedicated source archive "inherites" the OpenWRT's own license in my opinion. However, I can not garantee that I always picked the correct information and/or did not miss license information. Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 43155
* Add a few SPDX tagsSteven Barth2014-11-021-0/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 43151
* 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-193-6/+34
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42979
* gdb: do not depend on libthread-db when using musl libcFlorian Fainelli2013-02-261-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 35809
* gdb: recategorize from utils to devel in menuconfigFlorian Fainelli2012-11-211-2/+2
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34291
* 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: add missing zlib dependencyFlorian Fainelli2012-11-191-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34256
* gdb: depend on zlib if zlib is selectedFelix Fietkau2012-10-301-1/+1
| | | | | | | | gdb can read debug informations in produced binaries with compressed debug sections if gdb is compiled with `zlib'. Signed-off-by: Jiri Slachta <slachta@cesnet.cz> SVN-Revision: 34007
* gdb: use the libthread-db package instead of throwing the lib into the ↵Felix Fietkau2012-10-291-5/+1
| | | | | | gdbserver package SVN-Revision: 34000
* gdb: update to version 7.5Felix Fietkau2012-10-292-17/+8
| | | | 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
* gdb: move to package/devel/Felix Fietkau2012-10-101-0/+87
SVN-Revision: 33706