./devel/gdb, Symbolic debugger for multiple language frontends

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 8.1, Package name: gdb-8.1, Maintainer: pkgsrc-users

The purpose of a debugger such as GDB is to allow you to see what
is going on "inside" another program while it executes--or what
another program was doing at the moment it crashed.

GDB can do four main kinds of things (plus other things in support
of these) to help you catch bugs in the act:

* Start your program, specifying anything that might affect its
behavior.

* Make your program stop on specified conditions.

* Examine what has happened, when your program has stopped.

* Change things in your program, so you can experiment with
correcting the effects of one bug and go on to learn about
another.


Required to run:
[lang/python27]

Required to build:
[pkgtools/cwrappers]

Package options: python

Master sites: (Expand)

SHA1: b28d9349ccd45c0aa208cda3a1ecf7e17eca0552
RMD160: 71bbfb22a924f5aa88af7ba8ed11f763a8666ad1
Filesize: 36459.187 KB

Version history: (Expand)


CVS history: (Expand)


   2018-01-31 21:33:11 by Maya Rashish | Files touched by this commit (9) | Package removed
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 … .1-release
   2018-01-01 23:30:04 by Roland Illig | Files touched by this commit (537)
Log message:
Sort PLIST files.

Unsorted entries in PLIST files have generated a pkglint warning for at
least 12 years. Somewhat more recently, pkglint has learned to sort
PLIST files automatically. Since pkglint 5.4.23, the sorting is only
done in obvious, simple cases. These have been applied by running:

  pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
   2017-09-07 19:11:47 by Kamil Rytarowski | Files touched by this commit (2)
Log message:
gdb: Upgrade to 8.0.1

pkgsrc specific changes
-----------------------

Set on NetBSD debug-dir to locale properly debug info of the base softwate:
    --with-separate-debug-dir=/usr/lib/debug

Disable globally binutils, gprof, gold, gas, ld. These packages are shipped
separately in other packages.

Upstream changelog
==================
GDB 8.0.1 brings the following fixes and enhancements over GDB 8.0:

  * PR breakpoint/21886 (Compressed MIPS code debugging impossible due to memory \ 
breakpoint misplacement)
  * PR symtab/22002 (Assertion on debuggee built with -gdwarf-5 \ 
-fdebug-types-section)
  * PR symtab/22003 (Incompatibility with -gdwarf-5 - DW_FORM_implicit_const)
  * PR gdb/22046 (Regression on older kernels for T (stopped) processes)
  * PR sim/20863 (gdb-7.12 powerpc-rtems4.12-gdb does not build on FreeBSD)
  * PR breakpoint/21555 ("error re-setting breakpoint" on PIE executables)
  * PR tdep/21717 ("print $fpscr" says "<unavailable>" \ 
until some VFP data register is printed)
  * PR exp/21827 (Regression: gdb command lookup became case-sensitive; but \ 
definitions are forced into lowercase)
  * PR remote/22021 (Multi-arch exec fails with a remote target)
   2017-06-23 21:49:20 by Kamil Rytarowski | Files touched by this commit (2)
Log message:
Correct gdb build failure on NetBSD 8.99.1

Address <sys/user.h> removal fallout.
   2017-06-05 13:38:51 by Maya Rashish | Files touched by this commit (8) | Package updated
Log message:
gdb: update to 8.0

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.
   2017-04-20 20:45:45 by Maya Rashish | Files touched by this commit (1)
Log message:
gdb; Add missing linux PLIST entries.

From Dr. Thomas Orgis via tech-pkg
   2017-02-28 15:58:43 by Joerg Sonnenberger | Files touched by this commit (1)
Log message:
Use the infrastructure's idea of where depcomp is.
   2017-02-18 18:43:37 by Kamil Rytarowski | Files touched by this commit (2)
Log message:
Prepare gdb/amd64bsd-nat.c for Debug Registers (watchpoints) on NetBSD

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>