GDB 8.0 brings the following fixes and improvements, including:
* C++: Support for rvalue references
* Python scripting enhancements:
** New functions to start, stop and access a running btrace recording.
** Rvalue reference support in gdb.Type.
* GDB commands interpreter:
** User commands now accept an unlimited number of arguments.
** The "eval" command now expands user-defined arguments.
* DWARF version 5 support
(note that its .debug_names index is not supported yet).
* GDB/MI enhancements:
** New -file-list-shared-libraries command to list the shared
libraries in the program.
** New -target-flash-erase command, to erase flash memory.
* Support for native FreeBSD/mips (mips*-*-freebsd)
* Support for the following targets:
** Synopsys ARC (arc*-*-elf32)
** FreeBSD/mips (mips*-*-freebsd)
* Miscellaneous enhancements:
** Command-line redirection now supported on MS-Windows hosts.
** Support for thread names on MS-Windows.
** Support for the PKU register on GNU/Linux.
** Support for Target descriptions on sparc32 and sparc64.
** New GDB/CLI command to erase flash memory
** rdrand and rdseed instructions record/replay support.
Support for the following features have been removed:
* Support for Java programs compiled with gcj
* Support for the following configurations:
** FreeBSD/alpha (alpha*-*-freebsd*)
** GNU/kFreeBSD/alpha (alpha*-*-kfreebsd*-gnu)
For a complete list and more details on each item, please see the
gdb/NEWS file.
Define DBREG_DRX when it's undefined to:
#define DBREG_DRX(d,x) ((d)->dr[(x)])
This has been copied from FreeBSD:
/usr/include/x86/reg.h:#define DBREG_DRX(d,x) ((d)->dr[(x)])
No functional change for existing operating systems.
Sponsored by <The NetBSD Foundation>
build, but not linked at runtime. Fixes PLIST conflict with
devel/binutils and subsequently makes pbulk on (at least) SunOS
happy. This follows what e.g. ports and homebrew already do.
Remove a leftover patch file while at it.
Bump PKGREVISION.
In-freeze, OK by wiz.
Module Name: pkgsrc
Committed By: sbd
Date: Mon Dec 5 19:34:41 UTC 2011
Modified Files:
pkgsrc/devel/gdb: distinfo
Added Files:
pkgsrc/devel/gdb/patches: patch-gdb_gdbserver_gdbreplay.c
Log Message:
alloca(3) is not avalible with glibc on linux if -fno-builtin is used.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/gdb/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/gdb/patches/patch-gdb_gdbserver_gdbreplay.c
Extract of changes below.
*** Changes in GDB 5.3:
* GNU/Linux shared library multi-threaded performance improved.
* ``gdbserver'' now supports multi-threaded applications on some targets
* GDB now supports C/C++ preprocessor macros.
* Multi-arched targets.
DEC Alpha (partial) alpha*-*-*
DEC VAX (partial) vax-*-*
NEC V850 v850-*-*
National Semiconductor NS32000 (partial) ns32k-*-*
Motorola 68000 (partial) m68k-*-*
Motorola MCORE mcore-*-*
* New targets.
Fujitsu FRV architecture added by Red Hat frv*-*-*
* New native configurations
Alpha NetBSD alpha*-*-netbsd*
SH NetBSD sh*-*-netbsdelf*
MIPS NetBSD mips*-*-netbsd*
UltraSPARC NetBSD sparc64-*-netbsd*
* OBSOLETE configurations and files
Mitsubishi D30V d30v-*-*
OS/9000 i[34]86-*-os9k
IBM AIX PS/2 i[3456]86-*-aix
Fujitsu FR30 fr30-*-elf*
Motorola Delta 88000 running Sys V m88k-motorola-sysv or delta88
Argonaut Risc Chip (ARC) arc-*-*
i386 running Mach 3.0 i[3456]86-*-mach3*
i386 running Mach i[3456]86-*-mach*
i386 running OSF/1 i[3456]86-*osf1mk*
HP/Apollo 68k Family m68*-apollo*-sysv*,
m68*-apollo*-bsd*,
m68*-hp-bsd*, m68*-hp-hpux*
I960 with MON960 i960-*-coff
* OBSOLETE languages
CHILL, a Pascal like language used by telecommunications companies.
* REMOVED configurations and files
AMD 29k family via UDI a29k-amd-udi, udi29k
A29K VxWorks a29k-*-vxworks
AMD 29000 embedded, using EBMON a29k-none-none
AMD 29000 embedded with COFF a29k-none-coff
AMD 29000 embedded with a.out a29k-none-aout
testsuite/gdb.hp/gdb.threads-hp/ directory
* New command "set max-user-call-depth <nnn>"
* Changes in FreeBSD/i386 native debugging.
Support for the "generate-core-file" has been added.
* New commands "dump", "append", and "restore".
* Improved "next/step" support on multi-processor Alpha Tru64.
base system, people may want to install it from pkgsrc, particularly on
Darwin (?), Linux, SunOS and since there is no problem in having one gdb in
pkgsrc and one in the base-system, no harm is done.
Changes since the last version (4.18) are numerous; highlights include:
* New command "set trust-readonly-sections on[off]".
* New command "generate-core-file" (or "gcore").
* New command line option --pid or -p followed by a process id
* The new `--args' feature can be used to specify command-line arguments
for the inferior from gdb's command line.
* a new `operate-and-get-next' function bound to `C-o'.