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:   bsiegert
Date:           Sat Apr 11 12:47:28 UTC 2020

Modified Files:
        pkgsrc/devel/gdb: Makefile PLIST.common distinfo
Added Files:
        pkgsrc/devel/gdb/patches: patch-gdb_testsuite_Makefile.in
Removed Files:
        pkgsrc/devel/gdb/patches: patch-gdb_proc-events.c

Log Message:
Update gdb to 8.3.1.

September 20th, 2019: GDB 8.3.1 Released!

    This is a minor corrective release over GDB 8.3, fixing the following
    issues:
      * 20020 (GDB segfault on printing objects)
      * 24454 (nat/x86-linux-dregs.c:146: internal-error: void
        x86_linux_update_debug_registers(lwp_info*): Assertion `lwp_is_stopped
        (lwp)' failed)
      * 24541 (Incorrect evaluation of systemtap probes due to
        register being signed and probe expression assuming unsigned)
      * 24545 (Symbol loading performance regression with cc1)
      * 24592 (amd64->i386 linux syscall restart problem)
      * 25009 (terminate called after throwing an instance of
        'srchilite::ParserException')
      * 25010 (Calls to error () can cause SIGTTOU to send gdb to the
        background)
      * 25011 (Breakpoints on file reloads broken for PIE
        binaries)
    This corrective release also brings the following testsuite fixes and
    enhancements:
      * 25005 (gdb-caching-proc.exp takes a lot of time on
        skip_opencl_tests)
      * 25016 (Test-case failures for -pie)

May 11th, 2019: GDB 8.3 Released!

    This version of GDB 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.
    See the NEWS file for a more complete and detailed list of what this
    release includes.

December 23rd, 2018: GDB 8.2.1 Released!

    This is a minor corrective release over GDB 8.2, fixing the following
    issues:
      * 23516 (gdb build error under msys+mingw: strip can't handle
        gdb-add-index.exe)
      * 23623 (install-strip fails)
      * 23626 (gdb crashes in upstream rust nil-enum test)
      * 23650 (rust field name access error mentions "foo")
      * 23663 (gdb 8.1.1: undefined rpl_stat function with musl
        toolchains)
      * 23669 (gdb.execute("show commands") doesn't work)
      * 23714 (Command repetition stops working after gdb.execute)
      * 23838 (8.2 regression for invalid -data-directory)
      * 23974 ("info os" crash when specifying invalid object)
      * 23999 (SYMBOL_LANGUAGE assertion failure on AIX)
      * 24003 (Error when binary searching CUs for a specific DIE when
        using DWZ)

September 5th, 2018: GDB 8.2 Released!

    This version of GDB includes the following changes and enhancements:
      * 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).
            See the NEWS file for a more complete and detailed list of what
            this release includes.


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 pkgsrc/devel/gdb/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/gdb/PLIST.common
cvs rdiff -u -r1.33 -r1.34 pkgsrc/devel/gdb/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/gdb/patches/patch-gdb_proc-events.c
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/gdb/patches/patch-gdb_testsuite_Makefile.in

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.65 pkgsrc/devel/gdb/Makefile:1.66
--- pkgsrc/devel/gdb/Makefile:1.65      Sat Jan 18 23:30:28 2020
+++ pkgsrc/devel/gdb/Makefile   Sat Apr 11 12:47:28 2020
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.65 2020/01/18 23:30:28 rillig Exp $
+# $NetBSD: Makefile,v 1.66 2020/04/11 12:47:28 bsiegert Exp $
 
-DISTNAME=      gdb-8.1
-PKGREVISION=   4
+DISTNAME=      gdb-8.3.1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=gdb/}
 
@@ -13,10 +12,10 @@ LICENSE=    gnu-gpl-v3
 USE_LANGUAGES=         c c++11
 
 BROKEN_GETTEXT_DETECTION=      yes
-GNU_CONFIGURE=                 YES
-USE_PKGLOCALEDIR=              YES
-USE_LIBTOOL=                   YES
-USE_TOOLS+=                    gmake msgfmt makeinfo perl:build
+GNU_CONFIGURE=                 yes
+USE_PKGLOCALEDIR=              yes
+USE_LIBTOOL=                   yes
+USE_TOOLS+=                    gmake msgfmt makeinfo perl:build bash:run
 REPLACE_LOCALEDIR_PATTERNS+=   Make-in
 INSTALL_TARGET=                        install install-info
 TEST_TARGET=                   check
@@ -44,6 +43,8 @@ AUTO_MKDIRS=          yes
 
 .include "../../mk/bsd.prefs.mk"
 
+REPLACE_BASH+=         gdb/gcore.in
+
 PLIST_VARS+=   gcore
 .if (${OPSYS} == "SunOS" || ${OPSYS} == "NetBSD" \
     || ${OPSYS} == "Linux" || ${OPSYS} == "FreeBSD")

Index: pkgsrc/devel/gdb/PLIST.common
diff -u pkgsrc/devel/gdb/PLIST.common:1.13 pkgsrc/devel/gdb/PLIST.common:1.14
--- pkgsrc/devel/gdb/PLIST.common:1.13  Wed Jan 31 20:33:11 2018
+++ pkgsrc/devel/gdb/PLIST.common       Sat Apr 11 12:47:28 2020
@@ -1,9 +1,11 @@
-@comment $NetBSD: PLIST.common,v 1.13 2018/01/31 20:33:11 maya Exp $
+@comment $NetBSD: PLIST.common,v 1.14 2020/04/11 12:47:28 bsiegert Exp $
 bin/gdb
+bin/gdb-add-index
 include/gdb/jit-reader.h
 info/annotate.info
 info/gdb.info
 info/stabs.info
+man/man1/gdb-add-index.1
 man/man1/gdb.1
 man/man1/gdbserver.1
 man/man5/gdbinit.5

Index: pkgsrc/devel/gdb/distinfo
diff -u pkgsrc/devel/gdb/distinfo:1.33 pkgsrc/devel/gdb/distinfo:1.34
--- pkgsrc/devel/gdb/distinfo:1.33      Fri Oct 11 09:23:42 2019
+++ pkgsrc/devel/gdb/distinfo   Sat Apr 11 12:47:28 2020
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.33 2019/10/11 09:23:42 maya Exp $
+$NetBSD: distinfo,v 1.34 2020/04/11 12:47:28 bsiegert Exp $
 
-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 (gdb-8.3.1.tar.gz) = 8e68fc5d524caeb6684a8b6ed24e75396e40c471
+RMD160 (gdb-8.3.1.tar.gz) = 82c6d7d2c96b4716f9f338b116122b7395b07e90
+SHA512 (gdb-8.3.1.tar.gz) = e81949fa011046b07ee6886a378bcbd420e4571367005035007dc70f0d28d975d08fb7d9062b49f0a3e6d2ca8149ea60f9ab485ea98a04198d1ca49d38dbd2fe
+Size (gdb-8.3.1.tar.gz) = 38130999 bytes
 SHA1 (patch-Makefile.in) = 48f65798f96fdda2a35eb8b18a7cc2993023bcc7
-SHA1 (patch-gdb_proc-events.c) = 0ff0e3b33beacd83384f4b1b07e337d5271cea8c
+SHA1 (patch-gdb_testsuite_Makefile.in) = 295fa86f16e520a7df907743988cc3dbdb606c2a
 SHA1 (patch-opcodes_i386-dis_c) = 57b2b2ce85567faf112ec9f435b9aed0ffc943fb
 SHA1 (patch-sim_ppc_emul_netbsd.c) = 34fcb884c3c82e8eae6cd6f8c87ce42e9354c347

Added files:

Index: pkgsrc/devel/gdb/patches/patch-gdb_testsuite_Makefile.in
diff -u /dev/null pkgsrc/devel/gdb/patches/patch-gdb_testsuite_Makefile.in:1.1
--- /dev/null   Sat Apr 11 12:47:28 2020
+++ pkgsrc/devel/gdb/patches/patch-gdb_testsuite_Makefile.in    Sat Apr 11 12:47:28 2020
@@ -0,0 +1,22 @@
+$NetBSD: patch-gdb_testsuite_Makefile.in,v 1.1 2020/04/11 12:47:28 bsiegert Exp $
+
+--- gdb/testsuite/Makefile.in.orig     2019-09-20 22:04:41.000000000 +0000
++++ gdb/testsuite/Makefile.in
+@@ -202,7 +202,7 @@ check-single-racy:
+       -rm -rf cache racy_outputs temp
+       mkdir -p racy_outputs; \
+       racyiter="$(RACY_ITER)"; \
+-      test "x$$racyiter" == "x" && \
++      test "x$$racyiter" = "x" && \
+         racyiter=$(DEFAULT_RACY_ITER); \
+       if test $$racyiter -lt 2 ; then \
+         echo "RACY_ITER must be at least 2."; \
+@@ -232,7 +232,7 @@ check-parallel:
+ check-parallel-racy:
+       -rm -rf cache racy_outputs temp
+       racyiter="$(RACY_ITER)"; \
+-      test "x$$racyiter" == "x" && \
++      test "x$$racyiter" = "x" && \
+         racyiter=$(DEFAULT_RACY_ITER); \
+       if test $$racyiter -lt 2 ; then \
+         echo "RACY_ITER must be at least 2."; \



Home | Main Index | Thread Index | Old Index