Commit graph

24 commits

Author SHA1 Message Date
kamil
66145a7736 Correct gdb build failure on NetBSD 8.99.1
Address <sys/user.h> removal fallout.
2017-06-23 19:49:20 +00:00
maya
bd0cd6a937 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-06-05 11:38:51 +00:00
kamil
d98e57b1e8 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>
2017-02-18 17:43:37 +00:00
fhajny
83da5e858c Conclude the previous fix by not installing bfd.info either. Makes
package co-exist finally with devel/binutils. Bump PKGREVISION.
2016-04-14 08:40:44 +00:00
fhajny
b87e5e0ba0 Do not install libbfd and libopcodes. The objects are used in the
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.
2016-04-06 09:34:20 +00:00
joerg
bb4c38ad02 Add bfd.h dependency for netbsd-core.c. 2015-05-03 19:44:37 +00:00
bsiegert
3e2ee61df1 Move wip/gdb (version 7.9) over the 5.x version that has been here for a
long time and that does not even support amd64. The old gdb version, for
those with a penchant for historic software, can be found as devel/gdb5.
2015-03-15 14:56:46 +00:00
sbd
201c3302d8 Revert following commit (gdb doesn't confict with autoconf):
Module Name:	pkgsrc
   Committed By:	sbd
   Date:		Tue Dec 13 06:58:09 UTC 2011

   Modified Files:
	   pkgsrc/devel/gdb: Makefile distinfo
	   pkgsrc/devel/gdb/patches: patch-gdb_gdbserver_configure.in
   Added Files:
	   pkgsrc/devel/gdb/patches: patch-gdb_gdbserver_config.in
	       patch-gdb_gdbserver_configure

   Log Message:
   This package can't use autoconf as to conflicts with it.


   To generate a diff of this commit:
   cvs rdiff -u -r1.40 -r1.41 pkgsrc/devel/gdb/Makefile
   cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/gdb/distinfo
   cvs rdiff -u -r0 -r1.1 pkgsrc/devel/gdb/patches/patch-gdb_gdbserver_config.in \
       pkgsrc/devel/gdb/patches/patch-gdb_gdbserver_configure
   cvs rdiff -u -r1.1 -r1.2 \
       pkgsrc/devel/gdb/patches/patch-gdb_gdbserver_configure.in
2011-12-14 02:29:30 +00:00
sbd
6227bf0073 This package can't use autoconf as to conflicts with it. 2011-12-13 06:58:08 +00:00
sbd
e641655573 If <stdlib.h> is needed and its wrapped with HAVE_STDDLIB_H it must be
tested for by autoconf!

<stdlib.h> is needed as it include <alloca.h> which is needed for alloca(3).

Also fix DESTDIR support for gdbserver.
2011-12-05 22:15:05 +00:00
sbd
548e7ab3e6 Revert commit:
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
2011-12-05 22:05:29 +00:00
sbd
8bc78405db alloca(3) is not avalible with glibc on linux if -fno-builtin is used. 2011-12-05 19:34:41 +00:00
obache
01e3e48b0b Add patches accidently missed at last commit. 2011-03-24 01:29:34 +00:00
obache
df201fc443 Add user-destdir installation support. 2011-03-05 09:14:23 +00:00
rillig
aa31f9d9e2 Some changes take a long time. This package had been broken since two
years. The fix was trivially copied from devel/coconut, which had the
same problem concerning an "invalid lvalue in increment".
2008-01-06 19:25:09 +00:00
lkundrak
807669d274 Silence false warning. 2007-07-11 13:15:53 +00:00
lkundrak
d6d43e23ee Attempt to fix build on >1.6 2007-07-11 13:12:01 +00:00
lkundrak
accd3811e1 Fixes for CVE-2005-1704 and CVE-2005-1705. Bump PKGREVISION. 2007-07-03 12:41:18 +00:00
rillig
edc90a1031 Fixed "test ==". 2006-10-22 07:55:38 +00:00
joerg
a5df8ff36a Fix errno. Add DragonFly support. 2006-02-27 15:45:29 +00:00
wiz
b75bd43daa Fix powerpc compilation problem with gcc-3.4. From Jorge Acereda in
PR 29193.
2005-03-17 14:23:46 +00:00
seb
ed7bae196b Update to gdb version 5.3.
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.
2003-03-10 23:50:48 +00:00
jschauma
5b2528cab1 Update to 5.2.1; remove ONLY_FOR_PLATFORM: even though gdb is in the NetBSD
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'.
2002-08-07 14:18:26 +00:00
agc
ddd3b27623 Initial import of gdb-4.18, the GNU symbolic debugger, into the NetBSD
packages collection.  This package is only for Solaris - it is part of
the base NetBSD system.
1999-07-01 15:26:19 +00:00