aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gdb66
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-06-08 07:37:20 +0800
committerobrien <obrien@FreeBSD.org>2002-06-08 07:37:20 +0800
commit11aea00d2ef54c663b0c1fbd3f82ae1c22604c6b (patch)
treeaf5e8ae3bfc214584c0d3e5993946f07d9031946 /devel/gdb66
parent213411a3817ea3e31cfc1ce9357bb08241cef944 (diff)
downloadfreebsd-ports-gnome-11aea00d2ef54c663b0c1fbd3f82ae1c22604c6b.tar.gz
freebsd-ports-gnome-11aea00d2ef54c663b0c1fbd3f82ae1c22604c6b.tar.zst
freebsd-ports-gnome-11aea00d2ef54c663b0c1fbd3f82ae1c22604c6b.zip
Our FreeBSDims will not work on sparc64 at this time.
Diffstat (limited to 'devel/gdb66')
-rw-r--r--devel/gdb66/files/patch-gdb_target.c11
-rw-r--r--devel/gdb66/files/patch-target.c11
2 files changed, 14 insertions, 8 deletions
diff --git a/devel/gdb66/files/patch-gdb_target.c b/devel/gdb66/files/patch-gdb_target.c
index 4eb3540c4482..e44c40f41b1a 100644
--- a/devel/gdb66/files/patch-gdb_target.c
+++ b/devel/gdb66/files/patch-gdb_target.c
@@ -1,11 +1,14 @@
---- gdb/target.c Thu Jan 31 17:01:21 2002
-+++ gdb/target.c Mon May 27 18:16:52 2002
-@@ -1361,7 +1361,7 @@
+--- gdb/target.c.orig Thu Jan 31 17:01:21 2002
++++ gdb/target.c Fri Jun 7 16:36:06 2002
+@@ -1361,7 +1361,11 @@
for (t = target_structs; t < target_structs + target_struct_size;
++t)
{
-- if ((*t)->to_stratum == core_stratum)
++#if defined(__FreeBSD__) && !defined(__sparc64__)
+ if ((*t)->to_stratum == (kernel_debugging ? kcore_stratum : core_stratum))
++#else
+ if ((*t)->to_stratum == core_stratum)
++#endif
{
runable = *t;
++count;
diff --git a/devel/gdb66/files/patch-target.c b/devel/gdb66/files/patch-target.c
index 4eb3540c4482..e44c40f41b1a 100644
--- a/devel/gdb66/files/patch-target.c
+++ b/devel/gdb66/files/patch-target.c
@@ -1,11 +1,14 @@
---- gdb/target.c Thu Jan 31 17:01:21 2002
-+++ gdb/target.c Mon May 27 18:16:52 2002
-@@ -1361,7 +1361,7 @@
+--- gdb/target.c.orig Thu Jan 31 17:01:21 2002
++++ gdb/target.c Fri Jun 7 16:36:06 2002
+@@ -1361,7 +1361,11 @@
for (t = target_structs; t < target_structs + target_struct_size;
++t)
{
-- if ((*t)->to_stratum == core_stratum)
++#if defined(__FreeBSD__) && !defined(__sparc64__)
+ if ((*t)->to_stratum == (kernel_debugging ? kcore_stratum : core_stratum))
++#else
+ if ((*t)->to_stratum == core_stratum)
++#endif
{
runable = *t;
++count;