pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/gdb



Module Name:    pkgsrc
Committed By:   maya
Date:           Wed Jan 31 20:33:11 UTC 2018

Modified Files:
        pkgsrc/devel/gdb: Makefile PLIST.Linux PLIST.common distinfo
Removed Files:
        pkgsrc/devel/gdb: PLIST.SunOS
        pkgsrc/devel/gdb/patches: patch-ao patch-gdb_bsd-kvm.c
            patch-gdb_config_i386_nbsd64.mh patch-gdb_x86-bsd-nat.c

Log Message:
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-release


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 pkgsrc/devel/gdb/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/gdb/PLIST.Linux
cvs rdiff -u -r1.2 -r0 pkgsrc/devel/gdb/PLIST.SunOS
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/gdb/PLIST.common
cvs rdiff -u -r1.31 -r1.32 pkgsrc/devel/gdb/distinfo
cvs rdiff -u -r1.2 -r0 pkgsrc/devel/gdb/patches/patch-ao
cvs rdiff -u -r1.3 -r0 pkgsrc/devel/gdb/patches/patch-gdb_bsd-kvm.c
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/devel/gdb/patches/patch-gdb_config_i386_nbsd64.mh \
    pkgsrc/devel/gdb/patches/patch-gdb_x86-bsd-nat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/gdb/Makefile
diff -u pkgsrc/devel/gdb/Makefile:1.58 pkgsrc/devel/gdb/Makefile:1.59
--- pkgsrc/devel/gdb/Makefile:1.58      Thu Sep  7 17:11:47 2017
+++ pkgsrc/devel/gdb/Makefile   Wed Jan 31 20:33:11 2018
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.58 2017/09/07 17:11:47 kamil Exp $
+# $NetBSD: Makefile,v 1.59 2018/01/31 20:33:11 maya Exp $
 
-DISTNAME=      gdb-8.0.1
+DISTNAME=      gdb-8.1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=gdb/}
 
@@ -31,7 +31,7 @@ SUBST_SED.fix-depcomp+=               -e 's,< ./depco
 
 CONFIGURE_ARGS+=       --disable-binutils
 CONFIGURE_ARGS+=       --disable-gprof
-CONFIGURE_ARGS+=       --disable-gold                                                                                                                       
+CONFIGURE_ARGS+=       --disable-gold
 CONFIGURE_ARGS+=       --disable-gas
 CONFIGURE_ARGS+=       --disable-ld
 
@@ -41,6 +41,12 @@ AUTO_MKDIRS=         yes
 
 .include "../../mk/bsd.prefs.mk"
 
+PLIST_VARS+=   gcore
+.if (${OPSYS} == "SunOS" || ${OPSYS} == "NetBSD" \
+    || ${OPSYS} == "Linux" || ${OPSYS} == "FreeBSD")
+PLIST.gcore=   yes
+.endif
+
 .if ${OPSYS} == "SunOS"
 # Work around a bug in gdb's configure
 CONFIGURE_ENV+=                ac_cv_header_curses_h=yes

Index: pkgsrc/devel/gdb/PLIST.Linux
diff -u pkgsrc/devel/gdb/PLIST.Linux:1.4 pkgsrc/devel/gdb/PLIST.Linux:1.5
--- pkgsrc/devel/gdb/PLIST.Linux:1.4    Mon Jan  1 22:29:24 2018
+++ pkgsrc/devel/gdb/PLIST.Linux        Wed Jan 31 20:33:11 2018
@@ -1,5 +1,3 @@
-@comment $NetBSD: PLIST.Linux,v 1.4 2018/01/01 22:29:24 rillig Exp $
-bin/gcore
+@comment $NetBSD: PLIST.Linux,v 1.5 2018/01/31 20:33:11 maya Exp $
 bin/gdbserver
 lib/libinproctrace.so
-man/man1/gcore.1

Index: pkgsrc/devel/gdb/PLIST.common
diff -u pkgsrc/devel/gdb/PLIST.common:1.12 pkgsrc/devel/gdb/PLIST.common:1.13
--- pkgsrc/devel/gdb/PLIST.common:1.12  Mon Jun  5 11:38:51 2017
+++ pkgsrc/devel/gdb/PLIST.common       Wed Jan 31 20:33:11 2018
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.12 2017/06/05 11:38:51 maya Exp $
+@comment $NetBSD: PLIST.common,v 1.13 2018/01/31 20:33:11 maya Exp $
 bin/gdb
 include/gdb/jit-reader.h
 info/annotate.info
@@ -47,3 +47,4 @@ share/gdb/syscalls/sparc-linux.xml
 share/gdb/syscalls/sparc64-linux.xml
 share/gdb/system-gdbinit/elinos.py
 share/gdb/system-gdbinit/wrs-linux.py
+${PLIST.gcore}bin/gcore

Index: pkgsrc/devel/gdb/distinfo
diff -u pkgsrc/devel/gdb/distinfo:1.31 pkgsrc/devel/gdb/distinfo:1.32
--- pkgsrc/devel/gdb/distinfo:1.31      Thu Sep  7 17:11:47 2017
+++ pkgsrc/devel/gdb/distinfo   Wed Jan 31 20:33:11 2018
@@ -1,13 +1,9 @@
-$NetBSD: distinfo,v 1.31 2017/09/07 17:11:47 kamil Exp $
+$NetBSD: distinfo,v 1.32 2018/01/31 20:33:11 maya Exp $
 
-SHA1 (gdb-8.0.1.tar.gz) = abb30c4fd7f66c830d879715cce5732bcf84f0f6
-RMD160 (gdb-8.0.1.tar.gz) = 5ad7e7417dea2f4c7cc4795b74a58b948d8d93b2
-SHA512 (gdb-8.0.1.tar.gz) = 58eb6150c908d67e6aed01d04bd321c7914e3e82fbb81a31e3050c4470e24e67cbe023b3f3edfb981225802441cf8b0d3d042195e96b6530058966cfdcd53c8d
-Size (gdb-8.0.1.tar.gz) = 36359351 bytes
+SHA1 (gdb-8.1.tar.gz) = b28d9349ccd45c0aa208cda3a1ecf7e17eca0552
+RMD160 (gdb-8.1.tar.gz) = 71bbfb22a924f5aa88af7ba8ed11f763a8666ad1
+SHA512 (gdb-8.1.tar.gz) = 4a51e491061f97708ec1cebf9973ea451f9b9499ee2b898fa1631dbe78ffecec9c09e8a95f04c888dee4664957583b1982efd468088878b203a125bbcf9ee516
+Size (gdb-8.1.tar.gz) = 37334207 bytes
 SHA1 (patch-Makefile.in) = 48f65798f96fdda2a35eb8b18a7cc2993023bcc7
-SHA1 (patch-ao) = fe55dc7245f438fccb7965ceb220be951f85a535
-SHA1 (patch-gdb_bsd-kvm.c) = 45d0436f7c451de326afaffd3ebc5a4c3689d6f8
-SHA1 (patch-gdb_config_i386_nbsd64.mh) = 5dd8cfc89d3de5d8df3f57d3c798a1fe292d4dfe
-SHA1 (patch-gdb_x86-bsd-nat.c) = 82bfdd27ab88bf21421ad9209bbe5821f36ac854
 SHA1 (patch-opcodes_i386-dis_c) = 57b2b2ce85567faf112ec9f435b9aed0ffc943fb
 SHA1 (patch-sim_ppc_emul_netbsd.c) = 34fcb884c3c82e8eae6cd6f8c87ce42e9354c347



Home | Main Index | Thread Index | Old Index