diff options
Diffstat (limited to 'devel/gdb/patches')
-rw-r--r-- | devel/gdb/patches/patch-ah | 21 | ||||
-rw-r--r-- | devel/gdb/patches/patch-ai | 13 | ||||
-rw-r--r-- | devel/gdb/patches/patch-aj | 12 | ||||
-rw-r--r-- | devel/gdb/patches/patch-ak | 12 | ||||
-rw-r--r-- | devel/gdb/patches/patch-al | 13 | ||||
-rw-r--r-- | devel/gdb/patches/patch-am | 13 | ||||
-rw-r--r-- | devel/gdb/patches/patch-an | 13 |
7 files changed, 97 insertions, 0 deletions
diff --git a/devel/gdb/patches/patch-ah b/devel/gdb/patches/patch-ah new file mode 100644 index 00000000000..085520d26b7 --- /dev/null +++ b/devel/gdb/patches/patch-ah @@ -0,0 +1,21 @@ +$NetBSD: patch-ah,v 1.1 2006/02/27 15:45:29 joerg Exp $ + +--- bfd/configure.orig 2006-02-27 14:42:54.000000000 +0000 ++++ bfd/configure +@@ -5104,7 +5104,7 @@ if test "${target}" = "${host}"; then + COREFILE=trad-core.lo + TRAD_HEADER='"hosts/i386bsd.h"' + ;; +- i[3456]86-*-freebsd*) ++ i[3456]86-*-freebsd* | i[3456]86-*-dragonfly*) + COREFILE='' + TRAD_HEADER='"hosts/i386bsd.h"' + ;; +@@ -6180,6 +6180,7 @@ do + i386coff_vec) tb="$tb coff-i386.lo cofflink.lo" ;; + i386dynix_vec) tb="$tb i386dynix.lo aout32.lo" ;; + i386freebsd_vec) tb="$tb i386freebsd.lo aout32.lo" ;; ++ i386dragonfly_vec) tb="$tb i386freebsd.lo aout32.lo" ;; + i386linux_vec) tb="$tb i386linux.lo aout32.lo" ;; + i386lynx_aout_vec) tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;; + i386lynx_coff_vec) tb="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;; diff --git a/devel/gdb/patches/patch-ai b/devel/gdb/patches/patch-ai new file mode 100644 index 00000000000..947ee4c9c7c --- /dev/null +++ b/devel/gdb/patches/patch-ai @@ -0,0 +1,13 @@ +$NetBSD: patch-ai,v 1.1 2006/02/27 15:45:29 joerg Exp $ + +--- bfd/config.bfd.orig 2002-09-05 20:34:35.000000000 +0000 ++++ bfd/config.bfd +@@ -398,7 +398,7 @@ case "${targ}" in + targ_selvecs=i386bsd_vec + targ_underscore=yes + ;; +- i[3456]86-*-freebsd*) ++ i[3456]86-*-freebsd* | i[3456]86-*-dragonfly*) + targ_defvec=bfd_elf32_i386_vec + targ_selvecs=i386coff_vec + ;; diff --git a/devel/gdb/patches/patch-aj b/devel/gdb/patches/patch-aj new file mode 100644 index 00000000000..d6053bc2b8d --- /dev/null +++ b/devel/gdb/patches/patch-aj @@ -0,0 +1,12 @@ +$NetBSD: patch-aj,v 1.1 2006/02/27 15:45:29 joerg Exp $ + +--- gdb/configure.host.orig 2006-02-27 14:49:37.000000000 +0000 ++++ gdb/configure.host +@@ -58,6 +58,7 @@ i[3456]86-sequent-sysv*) gdb_host=ptx ;; + i[3456]86-*-bsd*) gdb_host=i386bsd ;; + i[3456]86-*-dgux*) gdb_host=i386dgux ;; + i[3456]86-*-freebsd*) gdb_host=fbsd ;; ++i[3456]86-*-dragonfly*) gdb_host=fbsd ;; + i[3456]86-*-netbsdelf*) gdb_host=nbsdelf ;; + i[3456]86-*-netbsdaout*) gdb_host=nbsdaout ;; + i[3456]86-*-netbsd*) gdb_host=nbsdaout ;; diff --git a/devel/gdb/patches/patch-ak b/devel/gdb/patches/patch-ak new file mode 100644 index 00000000000..79d12a10f2c --- /dev/null +++ b/devel/gdb/patches/patch-ak @@ -0,0 +1,12 @@ +$NetBSD: patch-ak,v 1.1 2006/02/27 15:45:29 joerg Exp $ + +--- gdb/configure.tgt.orig 2006-02-27 14:50:06.000000000 +0000 ++++ gdb/configure.tgt +@@ -92,6 +92,7 @@ i[3456]86-ncr-*) gdb_target=ncr3000 ;; + # OBSOLETE i[3456]86-*-aix*) gdb_target=i386aix ;; + i[3456]86-*-bsd*) gdb_target=i386bsd ;; + i[3456]86-*-freebsd*) gdb_target=fbsd ;; ++i[3456]86-*-dragonfly*) gdb_target=fbsd ;; + i[3456]86-*-netbsd*) gdb_target=nbsd ;; + i[3456]86-*-openbsd*) gdb_target=obsd ;; + # OBSOLETE i[3456]86-*-os9k) gdb_target=i386os9k ;; diff --git a/devel/gdb/patches/patch-al b/devel/gdb/patches/patch-al new file mode 100644 index 00000000000..ac0bffcde1d --- /dev/null +++ b/devel/gdb/patches/patch-al @@ -0,0 +1,13 @@ +$NetBSD: patch-al,v 1.1 2006/02/27 15:45:29 joerg Exp $ + +--- gdb/rdi-share/unixcomm.c.orig 2006-02-27 14:51:31.000000000 +0000 ++++ gdb/rdi-share/unixcomm.c +@@ -36,7 +36,7 @@ + #include <sys/types.h> + #include <sys/time.h> + +-#if defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (bsdi) ++#if defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (bsdi) || defined(__DragonFly__) + #undef BSD + #include <sys/ioctl.h> + #endif diff --git a/devel/gdb/patches/patch-am b/devel/gdb/patches/patch-am new file mode 100644 index 00000000000..7c164bf946f --- /dev/null +++ b/devel/gdb/patches/patch-am @@ -0,0 +1,13 @@ +$NetBSD: patch-am,v 1.1 2006/02/27 15:45:29 joerg Exp $ + +--- gdb/i386bsd-nat.c.orig 2006-02-27 14:51:46.000000000 +0000 ++++ gdb/i386bsd-nat.c +@@ -395,7 +395,7 @@ _initialize_i386bsd_nat (void) + system header files and sysctl(3) to get at the relevant + information. */ + +-#if defined (__FreeBSD_version) && __FreeBSD_version >= 400011 ++#if defined(__DragonFly__) || (defined (__FreeBSD_version) && __FreeBSD_version >= 400011) + extern int i386fbsd4_sc_pc_offset; + extern int i386fbsd4_sc_sp_offset; + #define SC_PC_OFFSET i386fbsd4_sc_pc_offset diff --git a/devel/gdb/patches/patch-an b/devel/gdb/patches/patch-an new file mode 100644 index 00000000000..9fd67468654 --- /dev/null +++ b/devel/gdb/patches/patch-an @@ -0,0 +1,13 @@ +$NetBSD: patch-an,v 1.1 2006/02/27 15:45:29 joerg Exp $ + +--- gdb/target.c.orig 2006-02-27 15:13:18.000000000 +0000 ++++ gdb/target.c +@@ -36,8 +36,6 @@ + #include <signal.h> + #include "regcache.h" + +-extern int errno; +- + static void target_info (char *, int); + + static void cleanup_target (struct target_ops *); |