gdb: update to 8.1. local changes: use plist var for gcore. XXX don't install gcore.1 that doesn't appear to be installed but exists remove merged patches. 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]); For a complete list and more details on each item, please see the gdb/NEWS file, available at: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-8.1-releasediff -r1.58 -r1.59 pkgsrc/devel/gdb/Makefile
(maya)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.58 2017/09/07 17:11:47 kamil Exp $ | 1 | # $NetBSD: Makefile,v 1.59 2018/01/31 20:33:11 maya Exp $ | |
2 | 2 | |||
3 | DISTNAME= gdb-8.0.1 | 3 | DISTNAME= gdb-8.1 | |
4 | CATEGORIES= devel | 4 | CATEGORIES= devel | |
5 | MASTER_SITES= ${MASTER_SITE_GNU:=gdb/} | 5 | MASTER_SITES= ${MASTER_SITE_GNU:=gdb/} | |
6 | 6 | |||
7 | MAINTAINER= pkgsrc-users@NetBSD.org | 7 | MAINTAINER= pkgsrc-users@NetBSD.org | |
8 | HOMEPAGE= http://www.gnu.org/software/gdb/gdb.html | 8 | HOMEPAGE= http://www.gnu.org/software/gdb/gdb.html | |
9 | COMMENT= Symbolic debugger for multiple language frontends | 9 | COMMENT= Symbolic debugger for multiple language frontends | |
10 | LICENSE= gnu-gpl-v3 | 10 | LICENSE= gnu-gpl-v3 | |
11 | 11 | |||
12 | USE_LANGUAGES= c c++11 | 12 | USE_LANGUAGES= c c++11 | |
13 | 13 | |||
14 | BROKEN_GETTEXT_DETECTION= yes | 14 | BROKEN_GETTEXT_DETECTION= yes | |
15 | GNU_CONFIGURE= YES | 15 | GNU_CONFIGURE= YES | |
16 | USE_PKGLOCALEDIR= YES | 16 | USE_PKGLOCALEDIR= YES | |
@@ -21,36 +21,42 @@ INSTALL_TARGET= install install-info | @@ -21,36 +21,42 @@ INSTALL_TARGET= install install-info | |||
21 | TEST_TARGET= check | 21 | TEST_TARGET= check | |
22 | INFO_FILES= yes | 22 | INFO_FILES= yes | |
23 | CONFIGURE_ENV+= CONFIG_LDFLAGS=${LDFLAGS:M*:Q} | 23 | CONFIGURE_ENV+= CONFIG_LDFLAGS=${LDFLAGS:M*:Q} | |
24 | 24 | |||
25 | # In gdb/configure, depcomp is parsed with sed. | 25 | # In gdb/configure, depcomp is parsed with sed. | |
26 | SUBST_CLASSES+= fix-depcomp | 26 | SUBST_CLASSES+= fix-depcomp | |
27 | SUBST_STAGE.fix-depcomp+= pre-configure | 27 | SUBST_STAGE.fix-depcomp+= pre-configure | |
28 | SUBST_MESSAGE.fix-depcomp+= Read depcomp directly | 28 | SUBST_MESSAGE.fix-depcomp+= Read depcomp directly | |
29 | SUBST_FILES.fix-depcomp+= gdb/configure | 29 | SUBST_FILES.fix-depcomp+= gdb/configure | |
30 | SUBST_SED.fix-depcomp+= -e 's,< ./depcomp,${_OVERRIDE_PATH.depcomp},' | 30 | SUBST_SED.fix-depcomp+= -e 's,< ./depcomp,${_OVERRIDE_PATH.depcomp},' | |
31 | 31 | |||
32 | CONFIGURE_ARGS+= --disable-binutils | 32 | CONFIGURE_ARGS+= --disable-binutils | |
33 | CONFIGURE_ARGS+= --disable-gprof | 33 | CONFIGURE_ARGS+= --disable-gprof | |
34 | CONFIGURE_ARGS+= --disable-gold | 34 | CONFIGURE_ARGS+= --disable-gold | |
35 | CONFIGURE_ARGS+= --disable-gas | 35 | CONFIGURE_ARGS+= --disable-gas | |
36 | CONFIGURE_ARGS+= --disable-ld | 36 | CONFIGURE_ARGS+= --disable-ld | |
37 | 37 | |||
38 | AUTO_MKDIRS= yes | 38 | AUTO_MKDIRS= yes | |
39 | 39 | |||
40 | .include "options.mk" | 40 | .include "options.mk" | |
41 | 41 | |||
42 | .include "../../mk/bsd.prefs.mk" | 42 | .include "../../mk/bsd.prefs.mk" | |
43 | 43 | |||
44 | PLIST_VARS+= gcore | |||
45 | .if (${OPSYS} == "SunOS" || ${OPSYS} == "NetBSD" \ | |||
46 | || ${OPSYS} == "Linux" || ${OPSYS} == "FreeBSD") | |||
47 | PLIST.gcore= yes | |||
48 | .endif | |||
49 | ||||
44 | .if ${OPSYS} == "SunOS" | 50 | .if ${OPSYS} == "SunOS" | |
45 | # Work around a bug in gdb's configure | 51 | # Work around a bug in gdb's configure | |
46 | CONFIGURE_ENV+= ac_cv_header_curses_h=yes | 52 | CONFIGURE_ENV+= ac_cv_header_curses_h=yes | |
47 | .elif ${OPSYS} == "NetBSD" | 53 | .elif ${OPSYS} == "NetBSD" | |
48 | .include "../../mk/curses.buildlink3.mk" | 54 | .include "../../mk/curses.buildlink3.mk" | |
49 | CONFIGURE_ARGS+= -with-curses | 55 | CONFIGURE_ARGS+= -with-curses | |
50 | CONFIGURE_ENV+= gdb_cv_var_elf=yes | 56 | CONFIGURE_ENV+= gdb_cv_var_elf=yes | |
51 | MAKE_ENV+= gdb_cv_var_elf=yes | 57 | MAKE_ENV+= gdb_cv_var_elf=yes | |
52 | CONFIGURE_ENV+= gdb_cv_struct_lwp=yes | 58 | CONFIGURE_ENV+= gdb_cv_struct_lwp=yes | |
53 | MAKE_ENV+= gdb_cv_struct_lwp=yes | 59 | MAKE_ENV+= gdb_cv_struct_lwp=yes | |
54 | 60 | |||
55 | CONFIGURE_ARGS+= --with-separate-debug-dir=/usr/libdata/debug | 61 | CONFIGURE_ARGS+= --with-separate-debug-dir=/usr/libdata/debug | |
56 | .elif ${OPSYS} == "DragonFly" | 62 | .elif ${OPSYS} == "DragonFly" |
@@ -1,5 +1,3 @@ | @@ -1,5 +1,3 @@ | |||
1 | @comment $NetBSD: PLIST.Linux,v 1.4 2018/01/01 22:29:24 rillig Exp $ | 1 | @comment $NetBSD: PLIST.Linux,v 1.5 2018/01/31 20:33:11 maya Exp $ | |
2 | bin/gcore | |||
3 | bin/gdbserver | 2 | bin/gdbserver | |
4 | lib/libinproctrace.so | 3 | lib/libinproctrace.so | |
5 | man/man1/gcore.1 |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST.common,v 1.12 2017/06/05 11:38:51 maya Exp $ | 1 | @comment $NetBSD: PLIST.common,v 1.13 2018/01/31 20:33:11 maya Exp $ | |
2 | bin/gdb | 2 | bin/gdb | |
3 | include/gdb/jit-reader.h | 3 | include/gdb/jit-reader.h | |
4 | info/annotate.info | 4 | info/annotate.info | |
5 | info/gdb.info | 5 | info/gdb.info | |
6 | info/stabs.info | 6 | info/stabs.info | |
7 | man/man1/gdb.1 | 7 | man/man1/gdb.1 | |
8 | man/man1/gdbserver.1 | 8 | man/man1/gdbserver.1 | |
9 | man/man5/gdbinit.5 | 9 | man/man5/gdbinit.5 | |
10 | share/gdb/python/gdb/FrameDecorator.py | 10 | share/gdb/python/gdb/FrameDecorator.py | |
11 | share/gdb/python/gdb/FrameIterator.py | 11 | share/gdb/python/gdb/FrameIterator.py | |
12 | share/gdb/python/gdb/__init__.py | 12 | share/gdb/python/gdb/__init__.py | |
13 | share/gdb/python/gdb/command/__init__.py | 13 | share/gdb/python/gdb/command/__init__.py | |
14 | share/gdb/python/gdb/command/explore.py | 14 | share/gdb/python/gdb/command/explore.py | |
@@ -37,13 +37,14 @@ share/gdb/syscalls/freebsd.xml | @@ -37,13 +37,14 @@ share/gdb/syscalls/freebsd.xml | |||
37 | share/gdb/syscalls/gdb-syscalls.dtd | 37 | share/gdb/syscalls/gdb-syscalls.dtd | |
38 | share/gdb/syscalls/i386-linux.xml | 38 | share/gdb/syscalls/i386-linux.xml | |
39 | share/gdb/syscalls/mips-n32-linux.xml | 39 | share/gdb/syscalls/mips-n32-linux.xml | |
40 | share/gdb/syscalls/mips-n64-linux.xml | 40 | share/gdb/syscalls/mips-n64-linux.xml | |
41 | share/gdb/syscalls/mips-o32-linux.xml | 41 | share/gdb/syscalls/mips-o32-linux.xml | |
42 | share/gdb/syscalls/ppc-linux.xml | 42 | share/gdb/syscalls/ppc-linux.xml | |
43 | share/gdb/syscalls/ppc64-linux.xml | 43 | share/gdb/syscalls/ppc64-linux.xml | |
44 | share/gdb/syscalls/s390-linux.xml | 44 | share/gdb/syscalls/s390-linux.xml | |
45 | share/gdb/syscalls/s390x-linux.xml | 45 | share/gdb/syscalls/s390x-linux.xml | |
46 | share/gdb/syscalls/sparc-linux.xml | 46 | share/gdb/syscalls/sparc-linux.xml | |
47 | share/gdb/syscalls/sparc64-linux.xml | 47 | share/gdb/syscalls/sparc64-linux.xml | |
48 | share/gdb/system-gdbinit/elinos.py | 48 | share/gdb/system-gdbinit/elinos.py | |
49 | share/gdb/system-gdbinit/wrs-linux.py | 49 | share/gdb/system-gdbinit/wrs-linux.py | |
50 | ${PLIST.gcore}bin/gcore |
@@ -1,13 +1,9 @@ | @@ -1,13 +1,9 @@ | |||
1 | $NetBSD: distinfo,v 1.31 2017/09/07 17:11:47 kamil Exp $ | 1 | $NetBSD: distinfo,v 1.32 2018/01/31 20:33:11 maya Exp $ | |
2 | 2 | |||
3 | SHA1 (gdb-8.0.1.tar.gz) = abb30c4fd7f66c830d879715cce5732bcf84f0f6 | 3 | SHA1 (gdb-8.1.tar.gz) = b28d9349ccd45c0aa208cda3a1ecf7e17eca0552 | |
4 | RMD160 (gdb-8.0.1.tar.gz) = 5ad7e7417dea2f4c7cc4795b74a58b948d8d93b2 | 4 | RMD160 (gdb-8.1.tar.gz) = 71bbfb22a924f5aa88af7ba8ed11f763a8666ad1 | |
5 | SHA512 (gdb-8.0.1.tar.gz) = 58eb6150c908d67e6aed01d04bd321c7914e3e82fbb81a31e3050c4470e24e67cbe023b3f3edfb981225802441cf8b0d3d042195e96b6530058966cfdcd53c8d | 5 | SHA512 (gdb-8.1.tar.gz) = 4a51e491061f97708ec1cebf9973ea451f9b9499ee2b898fa1631dbe78ffecec9c09e8a95f04c888dee4664957583b1982efd468088878b203a125bbcf9ee516 | |
6 | Size (gdb-8.0.1.tar.gz) = 36359351 bytes | 6 | Size (gdb-8.1.tar.gz) = 37334207 bytes | |
7 | SHA1 (patch-Makefile.in) = 48f65798f96fdda2a35eb8b18a7cc2993023bcc7 | 7 | SHA1 (patch-Makefile.in) = 48f65798f96fdda2a35eb8b18a7cc2993023bcc7 | |
8 | SHA1 (patch-ao) = fe55dc7245f438fccb7965ceb220be951f85a535 | |||
9 | SHA1 (patch-gdb_bsd-kvm.c) = 45d0436f7c451de326afaffd3ebc5a4c3689d6f8 | |||
10 | SHA1 (patch-gdb_config_i386_nbsd64.mh) = 5dd8cfc89d3de5d8df3f57d3c798a1fe292d4dfe | |||
11 | SHA1 (patch-gdb_x86-bsd-nat.c) = 82bfdd27ab88bf21421ad9209bbe5821f36ac854 | |||
12 | SHA1 (patch-opcodes_i386-dis_c) = 57b2b2ce85567faf112ec9f435b9aed0ffc943fb | 8 | SHA1 (patch-opcodes_i386-dis_c) = 57b2b2ce85567faf112ec9f435b9aed0ffc943fb | |
13 | SHA1 (patch-sim_ppc_emul_netbsd.c) = 34fcb884c3c82e8eae6cd6f8c87ce42e9354c347 | 9 | SHA1 (patch-sim_ppc_emul_netbsd.c) = 34fcb884c3c82e8eae6cd6f8c87ce42e9354c347 |