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: kamil
Date: Sat Oct 24 18:22:08 UTC 2020
Modified Files:
pkgsrc/devel/gdb: Makefile PLIST.Linux PLIST.common distinfo options.mk
Removed Files:
pkgsrc/devel/gdb/patches: patch-Makefile.in
patch-gdb_testsuite_Makefile.in patch-sim_ppc_emul_netbsd.c
Log Message:
gdb: Upgrade to 10.1
October 24th, 2020: GDB 10.1 Released!
The latest version of GDB, version 10.1, is available for download.
This version of GDB includes the following changes and enhancements:
Support for debugging new targets:
BPF (bpf-unknown-none)
GDBserver support for the following targets:
ARC GNU/Linux
RISC-V GNU/Linux
Multi-target debugging support (experimental)
Support for debuginfod, an HTTP server for distributing ELF/DWARF debugging information as well as source code.
Support for debugging a 32-bit Windows program using a 64-bit Windows GDB.
Support for building GDB with GNU Guile 3.0 and 2.2 (in addition to 2.0)
Improved performance during startup through the use of threading during symbol table loading (an optional feature in GDB 9, now enabled by default in GDB 10).
Various enhancements to the Python and Guile APIs
Various TUI Mode fixes and enhancements.
Other miscellaneous enhancements:
Detection when attaching to a process of a mismatch between this process and the executable previously loaded into GDB.
Support for default arguments for "alias" commands.
GDBserver support for the following host triplets has been removed:
i[34567]86-*-lynxos*
powerpc-*-lynxos*
i[34567]86-*-nto*
bfin-*-*linux*
crisv32-*-linux*
cris-*-linux*
m32r*-*-linux*
tilegx-*-linux*
arm*-*-mingw32ce*
i[34567]86-*-mingw32ce*
See the NEWS file for a more complete and detailed list of what this release includes.
---
From: Joel Brobecker
Subject: GDB 9.1 released!
Date: Sat, 8 Feb 2020 18:56:59 +0400 (+04)
GDB 9.1 includes the following changes and enhancements:
* Building GDB and GDBserver now requires GNU make >= 3.82.
* If you choose to build GDB without using the GNU readline version bundled
with the GDB sources, building GDB new requires GNU readline >= 7.0.
* Removed targets and native configurations:
- GDB no longer supports debugging the Cell Broadband Engine;
- GDB no longer supports Solaris 10.
* New TI PRU Simulator (pru-*-elf).
* Python Enhancements:
- GDB can now be compiled with Python 3 on Windows;
- Various Python API enhancements;
* Usability enhancements:
- [experimental] Multithreaded symbol loading for higher performance
(turned off by default, use 'maint set worker-threads unlimited'
to turn this feature on);
- Command names can now use the '.' character;
- GDB can now place breakpoints on nested functions and subroutines
in Fortran;
- GDB now shows the Ada task names at more places, e.g. in task switching
messages.
- Styling enhancements to various commands to improve readability.
- GDB now has a standard infrastructure to support dash-style command
options ('-OPT'). One benefit is that commands that use it can
easily support completion of command line arguments. Try "CMD
-[TAB]" or "help CMD" to find options supported by a command. Over
time, we intend to migrate most commands to this infrastructure.
* Enhancements to existing commands:
- "printf" and "eval" can now print C-style and Ada-style strings
without calling functions in the program;
- "info sources" has been enhance to allow only printing files
whose name match a REGEXP;
- New value "presence" for the "set print frame-arguments" setting,
to only indicate the presence of arguments with '...' instead
of printing the argument names and values;
- The "focus", "winheight", "+", "-", ">", "<" TUI commands are
now case sensitive;
- New options support for the following commands that allow overriding
a number of relevant global settings (as set by e.g. "set print
[...]" commands): "print", "compile print", "backtrace", "frame
apply", "tfaas", "faas";
- "info types" support for "-q" to disable printing of some header
information;
- In settings, "unlimited" can now be abbreviated with "u".
* New commands:
- "define-prefix" to define user-defined prefix commands;
- "|" or "pipe" to execute a command and send its output to
a shell command.
- "with" to run a given command with a setting temporarily changed
to a given value;
- "set may-call-functions" to control whether subprogram can be
called from GDB;
- "set print finish [on|off]" to control whether the returned value
should be printed when using the "finish" command;
- "set print max-depth" to simplify the printing of deeply nested
structures;
- "set print raw-values [on|off]" to turn on and off pretty printers;
- "set logging debugredirect [on|off]" to control whether to redirect
debug output to the log file;
- Various new "set style" commands;
- "set print frame-info [...]" to control what information to print
when printing a frame.
- "set tui compact-source" to enable the "compact" mode for the TUI
source window;
- "info modules [...]" to query information about Fortran modules;
- The "set/show print raw-frame-arguments" commands replace
the "set/show print raw frame-arguments" (now with a dash instead of
a space). The latter is now deprecated and may be removed in
a future release.
* New GDB/MI commands
- "-complete" to list possible completions;
- "-catch-throw", "-catch-rethrow", and "-catch-catch", the GDB/MI
equivalent of the "catch throw", "catch rethrow", and "catch catch"
commands (respectively);
- "-symbol-info-functions", "-symbol-info-types", and
"-symbol-info-variables", the GDB/MI equivalent of the "info functions",
"info types", and "info variables" commands (respectively);
- "-symbol-info-modules", "-symbol-info-module-functions",
and "-symbol-info-module-variables", the GDB/MI equivalent of
"info modules", "info module functions" and "info module variables".
* Other MI changes
- The default version of the MI interpreter is now 3 (-i=mi3);
- The output of information about multi-location breakpoints (which is
syntactically incorrect in MI 2) has changed in MI 3;
- Backtraces and frames include a new optional field "addr_flags".
* Several new builtin convenience variables
- $_gdb_major and $_gdb_minor;
- $_gdb_setting, $_gdb_setting_str, $_gdb_maint_setting and
$_gdb_maint_setting_str
- $_cimag and $_creal
- $_shell_exitcode and $_shell_exitsignal
* Miscellaneous enhancements:
- Support for a new configure option "--with-system-gdbinit-dir",
where system gdbinit files are to be loaded from at startup;
- 'thread-exited' event is now available in the annotations interface;
- The TUI SingleKey keymap is now named "SingleKey" (requires
GNU readline >= 8.0).
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-9.1-release
To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 pkgsrc/devel/gdb/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/gdb/PLIST.Linux
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/gdb/PLIST.common
cvs rdiff -u -r1.35 -r1.36 pkgsrc/devel/gdb/distinfo
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/gdb/options.mk
cvs rdiff -u -r1.2 -r0 pkgsrc/devel/gdb/patches/patch-Makefile.in
cvs rdiff -u -r1.1 -r0 \
pkgsrc/devel/gdb/patches/patch-gdb_testsuite_Makefile.in \
pkgsrc/devel/gdb/patches/patch-sim_ppc_emul_netbsd.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.72 pkgsrc/devel/gdb/Makefile:1.73
--- pkgsrc/devel/gdb/Makefile:1.72 Wed Oct 7 04:34:01 2020
+++ pkgsrc/devel/gdb/Makefile Sat Oct 24 18:22:08 2020
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.72 2020/10/07 04:34:01 mcf Exp $
+# $NetBSD: Makefile,v 1.73 2020/10/24 18:22:08 kamil Exp $
-DISTNAME= gdb-8.3.1
-PKGREVISION= 2
+DISTNAME= gdb-10.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=gdb/}
@@ -19,7 +18,7 @@ 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
+INSTALL_TARGET= install-gdb install-gdbsupport
TEST_TARGET= check
INFO_FILES= yes
CONFIGURE_ENV+= CONFIG_LDFLAGS=${LDFLAGS:M*:Q}
@@ -28,7 +27,9 @@ CONFIGURE_ENV+= CONFIG_LDFLAGS=${LDFLA
SUBST_CLASSES+= fix-depcomp
SUBST_STAGE.fix-depcomp+= pre-configure
SUBST_MESSAGE.fix-depcomp+= Read depcomp directly
-SUBST_FILES.fix-depcomp+= gdb/configure
+SUBST_FILES.fix-depcomp+= gdb/configure gdbserver/configure
+SUBST_FILES.fix-depcomp+= gdbsupport/configure
+SUBST_FILES.fix-depcomp+= gnulib/configure libctf/configure
SUBST_SED.fix-depcomp+= -e 's,< ./depcomp,${_OVERRIDE_PATH.depcomp},'
CONFIGURE_ARGS+= --disable-binutils
@@ -39,8 +40,6 @@ CONFIGURE_ARGS+= --disable-ld
CONFIGURE_ARGS+= --enable-targets=all
-AUTO_MKDIRS= yes
-
.include "options.mk"
.include "../../mk/bsd.prefs.mk"
@@ -54,17 +53,19 @@ PLIST_VARS+= gcore
PLIST.gcore= yes
.endif
+PLIST_VARS+= gdbserver
+.if ${OPSYS} == "Linux" || \
+ (${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "x86_64")
+INSTALL_TARGET+= install-gdbserver
+PLIST.gdbserver= yes
+.endif
+
.if ${OPSYS} == "SunOS"
# Work around a bug in gdb's configure
CONFIGURE_ENV+= ac_cv_header_curses_h=yes
.elif ${OPSYS} == "NetBSD"
.include "../../mk/curses.buildlink3.mk"
-CONFIGURE_ARGS+= -with-curses
-CONFIGURE_ENV+= gdb_cv_var_elf=yes
-MAKE_ENV+= gdb_cv_var_elf=yes
-CONFIGURE_ENV+= gdb_cv_struct_lwp=yes
-MAKE_ENV+= gdb_cv_struct_lwp=yes
-
+CONFIGURE_ARGS+= --with-curses
CONFIGURE_ARGS+= --with-separate-debug-dir=/usr/libdata/debug
.endif
@@ -74,21 +75,6 @@ CONFIGURE_SCRIPT= ${WRKSRC}/configure
post-extract:
${MKDIR} ${WRKDIR}/build
-post-install:
- ${RM} -f ${DESTDIR}/${PREFIX}/lib/charset.alias
-#
-# PATH of libiberty.a differs between clang and gcc: (and conflicts to other toolchain)
-# Rename to avoid conflict to native and other toolchain
-# and clang differs its path so, (the same as avr-binutils).
-
- (cd ${DESTDIR}${PREFIX}; \
- for d in ${MACHINE_ARCH}/libiberty.a libiberty.a; \
- do if [ -f lib/$$d ]; then \
- ${MV} lib/$$d lib/gdb/libiberty.a; \
- break; \
- fi; \
- done; )
-
.include "../../mk/termcap.buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/gdb/PLIST.Linux
diff -u pkgsrc/devel/gdb/PLIST.Linux:1.5 pkgsrc/devel/gdb/PLIST.Linux:1.6
--- pkgsrc/devel/gdb/PLIST.Linux:1.5 Wed Jan 31 20:33:11 2018
+++ pkgsrc/devel/gdb/PLIST.Linux Sat Oct 24 18:22:08 2020
@@ -1,3 +1,2 @@
-@comment $NetBSD: PLIST.Linux,v 1.5 2018/01/31 20:33:11 maya Exp $
-bin/gdbserver
+@comment $NetBSD: PLIST.Linux,v 1.6 2020/10/24 18:22:08 kamil Exp $
lib/libinproctrace.so
Index: pkgsrc/devel/gdb/PLIST.common
diff -u pkgsrc/devel/gdb/PLIST.common:1.16 pkgsrc/devel/gdb/PLIST.common:1.17
--- pkgsrc/devel/gdb/PLIST.common:1.16 Wed Oct 7 04:34:01 2020
+++ pkgsrc/devel/gdb/PLIST.common Sat Oct 24 18:22:08 2020
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST.common,v 1.16 2020/10/07 04:34:01 mcf Exp $
+@comment $NetBSD: PLIST.common,v 1.17 2020/10/24 18:22:08 kamil Exp $
${PLIST.gcore}bin/gcore
bin/gdb
bin/gdb-add-index
+${PLIST.gdbserver}bin/gdbserver
include/gdb/jit-reader.h
info/annotate.info
info/gdb.info
@@ -43,6 +44,7 @@ share/gdb/syscalls/i386-linux.xml
share/gdb/syscalls/mips-n32-linux.xml
share/gdb/syscalls/mips-n64-linux.xml
share/gdb/syscalls/mips-o32-linux.xml
+share/gdb/syscalls/netbsd.xml
share/gdb/syscalls/ppc-linux.xml
share/gdb/syscalls/ppc64-linux.xml
share/gdb/syscalls/s390-linux.xml
Index: pkgsrc/devel/gdb/distinfo
diff -u pkgsrc/devel/gdb/distinfo:1.35 pkgsrc/devel/gdb/distinfo:1.36
--- pkgsrc/devel/gdb/distinfo:1.35 Wed Oct 7 04:34:01 2020
+++ pkgsrc/devel/gdb/distinfo Sat Oct 24 18:22:08 2020
@@ -1,11 +1,8 @@
-$NetBSD: distinfo,v 1.35 2020/10/07 04:34:01 mcf Exp $
+$NetBSD: distinfo,v 1.36 2020/10/24 18:22:08 kamil Exp $
-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 (gdb-10.1.tar.gz) = 5218b83c33acd27ec4e62690baaf555503fdccd5
+RMD160 (gdb-10.1.tar.gz) = 87163d96863e4923691f0c1bd34f58e30f2685e8
+SHA512 (gdb-10.1.tar.gz) = 41b50955f82780a1935294669a14eca40e58574ad4aa6d476903b729605f09930e5bb651b4de0c49b948d65fdf521a4b7f22c5d3b1f83dd6c9a15957c9d52370
+Size (gdb-10.1.tar.gz) = 40245323 bytes
SHA1 (patch-gdb_doc_Makefile.in) = f7205fe715779e8aed05d230d43320286f74fdd0
-SHA1 (patch-gdb_testsuite_Makefile.in) = 295fa86f16e520a7df907743988cc3dbdb606c2a
SHA1 (patch-opcodes_i386-dis_c) = 57b2b2ce85567faf112ec9f435b9aed0ffc943fb
-SHA1 (patch-sim_ppc_emul_netbsd.c) = 34fcb884c3c82e8eae6cd6f8c87ce42e9354c347
Index: pkgsrc/devel/gdb/options.mk
diff -u pkgsrc/devel/gdb/options.mk:1.8 pkgsrc/devel/gdb/options.mk:1.9
--- pkgsrc/devel/gdb/options.mk:1.8 Tue Oct 6 21:13:38 2020
+++ pkgsrc/devel/gdb/options.mk Sat Oct 24 18:22:08 2020
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.8 2020/10/06 21:13:38 mcf Exp $
+# $NetBSD: options.mk,v 1.9 2020/10/24 18:22:08 kamil Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gdb
PKG_SUPPORTED_OPTIONS= python
@@ -9,7 +9,7 @@ PLIST_VARS+= python
.if !empty(PKG_OPTIONS:Mpython)
CONFIGURE_ARGS+= --with-python=${PYTHONBIN}
-PYTHON_VERSIONS_ACCEPTED= 27
+PYTHON_VERSIONS_ACCEPTED= 27 # Newer supported, but needs more tweaking
.include "../../lang/python/application.mk"
PLIST.python= yes
.endif
Home |
Main Index |
Thread Index |
Old Index