aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gdb6/files
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-06-29 04:38:23 +0800
committerobrien <obrien@FreeBSD.org>2002-06-29 04:38:23 +0800
commitbd933ea8237902d52a079d7b2c0d2370d69787ec (patch)
tree8c5c5174bf2951e6577e5007df3b9b59917fce72 /devel/gdb6/files
parenta4553e28286c70c2b96b1708c2b0fd1334c41f1c (diff)
downloadfreebsd-ports-gnome-bd933ea8237902d52a079d7b2c0d2370d69787ec.tar.gz
freebsd-ports-gnome-bd933ea8237902d52a079d7b2c0d2370d69787ec.tar.zst
freebsd-ports-gnome-bd933ea8237902d52a079d7b2c0d2370d69787ec.zip
Grrrr, these patches were obviously not tested on Alpha. :-(
There is NO kernel debugging for anything other than i386.
Diffstat (limited to 'devel/gdb6/files')
-rw-r--r--devel/gdb6/files/patch-gdb_target.c2
-rw-r--r--devel/gdb6/files/patch-target.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/devel/gdb6/files/patch-gdb_target.c b/devel/gdb6/files/patch-gdb_target.c
index e44c40f41b1a..7a4be01dd55d 100644
--- a/devel/gdb6/files/patch-gdb_target.c
+++ b/devel/gdb6/files/patch-gdb_target.c
@@ -4,7 +4,7 @@
for (t = target_structs; t < target_structs + target_struct_size;
++t)
{
-+#if defined(__FreeBSD__) && !defined(__sparc64__)
++#if defined(__FreeBSD__) && defined(__i386__)
+ if ((*t)->to_stratum == (kernel_debugging ? kcore_stratum : core_stratum))
+#else
if ((*t)->to_stratum == core_stratum)
diff --git a/devel/gdb6/files/patch-target.c b/devel/gdb6/files/patch-target.c
index e44c40f41b1a..7a4be01dd55d 100644
--- a/devel/gdb6/files/patch-target.c
+++ b/devel/gdb6/files/patch-target.c
@@ -4,7 +4,7 @@
for (t = target_structs; t < target_structs + target_struct_size;
++t)
{
-+#if defined(__FreeBSD__) && !defined(__sparc64__)
++#if defined(__FreeBSD__) && defined(__i386__)
+ if ((*t)->to_stratum == (kernel_debugging ? kcore_stratum : core_stratum))
+#else
if ((*t)->to_stratum == core_stratum)