Import of gdb-6.0.90, the GNU Debugger

Submitted by, and work for needed support written by
Mark Kettenis <kettenis@gnu.org>

Only for amd64 i386 sparc

Not all architectures work/are enabled at this point, this is
mostly being included due to the desperate need for an amd64
debugger this release.
This commit is contained in:
pvalchev 2004-03-07 08:21:12 +00:00
parent 4426614bbe
commit 7dcb27d3b4
6 changed files with 81 additions and 0 deletions

29
devel/gdb/Makefile Normal file
View File

@ -0,0 +1,29 @@
# $OpenBSD: Makefile,v 1.1.1.1 2004/03/07 08:21:12 pvalchev Exp $
# Original from: Mark Kettenis
ONLY_FOR_ARCHS= amd64 i386 sparc
COMMENT= "GNU debugger"
DISTNAME= gdb-6.0.90
CATEGORIES= devel
HOMEPAGE= http://sources.redhat.com/gdb/
MAINTAINER= Mark Kettenis <kettenis@gnu.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://sources.redhat.com/pub/gdb/snapshots/branch/
SEPARATE_BUILD= simple
CONFIGURE_STYLE= autoconf
ALL_TARGET= all-gdb
INSTALL_TARGET= install-gdb
.include <bsd.port.mk>

3
devel/gdb/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (gdb-6.0.90.tar.gz) = d63f50516b9efdc9dc5dc6a6316ec3d6
RMD160 (gdb-6.0.90.tar.gz) = 0cb3819aaaa8c61b59a2d9ea9f18e9d519f10e3d
SHA1 (gdb-6.0.90.tar.gz) = cecfa292da4673ec644544f9260ebd93f7673e72

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-bfd_config_bfd,v 1.1.1.1 2004/03/07 08:21:12 pvalchev Exp $
--- bfd/config.bfd.orig 2004-01-06 20:18:59.000000000 +0100
+++ bfd/config.bfd 2004-03-04 13:07:38.000000000 +0100
@@ -493,7 +493,7 @@ case "${targ}" in
targ_defvec=bfd_elf64_x86_64_vec
targ_selvecs="bfd_elf32_i386_vec i386coff_vec bfd_efi_app_ia32_vec"
;;
- x86_64-*-netbsd*)
+ x86_64-*-netbsd* | x86_64-*-openbsd*)
targ_defvec=bfd_elf64_x86_64_vec
targ_selvecs="bfd_elf32_i386_vec i386netbsd_vec i386coff_vec bfd_efi_app_ia32_vec"
;;

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-bfd_configure_in,v 1.1.1.1 2004/03/07 08:21:12 pvalchev Exp $
--- bfd/configure.in.orig 2004-02-18 18:17:17.000000000 +0100
+++ bfd/configure.in 2004-03-04 13:07:38.000000000 +0100
@@ -405,7 +405,9 @@ changequote([,])dnl
COREFILE=trad-core.lo
TRAD_HEADER='"hosts/vaxbsd.h"'
;;
- x86_64-*-netbsd*) COREFILE=netbsd-core.lo ;;
+ x86_64-*-netbsd* | x86_64-*-openbsd*)
+ COREFILE=netbsd-core.lo
+ ;;
esac
case "$COREFILE" in

3
devel/gdb/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
GDB, the GNU Project debugger, allows you to see what is
going on `inside' another program while it executes -- or
what another program was doing at the moment it crashed.

20
devel/gdb/pkg/PLIST Normal file
View File

@ -0,0 +1,20 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/03/07 08:21:12 pvalchev Exp $
@unexec install-info --delete --info-dir=%D/info %D/info/annotate.info
@unexec install-info --delete --info-dir=%D/info %D/info/gdb.info
@unexec install-info --delete --info-dir=%D/info %D/info/gdbint.info
@unexec install-info --delete --info-dir=%D/info %D/info/stabs.info
bin/gdb
bin/gdbtui
info/annotate.info
info/gdb.info
info/gdb.info-1
info/gdbint.info
info/gdbint.info-1
info/stabs.info
info/stabs.info-1
man/man1/gdb.1
man/man1/gdbtui.1
@exec install-info --info-dir=%D/info %D/info/annotate.info
@exec install-info --info-dir=%D/info %D/info/gdb.info
@exec install-info --info-dir=%D/info %D/info/gdbint.info
@exec install-info --info-dir=%D/info %D/info/stabs.info