summaryrefslogtreecommitdiffstats
path: root/devel/gdb6
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-10-12 19:06:55 +0000
committerobrien <obrien@FreeBSD.org>2002-10-12 19:06:55 +0000
commitb41d179b778229ff2a5fa6542f62e20e14fc92e7 (patch)
tree1d05891d705c86bb952ba1c3e122c8c2864d24b8 /devel/gdb6
parent299a8cc93e7886ed328f614b74b6cef7c0129e06 (diff)
downloadFreeBSD-ports-b41d179b778229ff2a5fa6542f62e20e14fc92e7.zip
FreeBSD-ports-b41d179b778229ff2a5fa6542f62e20e14fc92e7.tar.gz
Jake is changing the trapframe/regs/ucontext structures for FreeBSD/sparc64.
Diffstat (limited to 'devel/gdb6')
-rw-r--r--devel/gdb6/files/patch-sparc_fbsd.mh16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/gdb6/files/patch-sparc_fbsd.mh b/devel/gdb6/files/patch-sparc_fbsd.mh
new file mode 100644
index 0000000..7646216
--- /dev/null
+++ b/devel/gdb6/files/patch-sparc_fbsd.mh
@@ -0,0 +1,16 @@
+--- gdb/config/sparc/nm-fbsd.h.orig Fri Mar 1 10:35:24 2002
++++ gdb/config/sparc/nm-fbsd.h Sat Oct 12 12:05:27 2002
+@@ -50,10 +50,7 @@
+ #define GDB_FPREGSET_T struct fpreg
+
+-#define regs trapframe
+-#define r_g1 tf_global[1]
+-#define r_ps tf_tstate
+-#define r_pc tf_tpc
+-#define r_npc tf_tnpc
+-#define r_y tf_y
++#define regs reg
++#define r_g1 r_global[1]
++#define r_ps r_tstate
+
+ #define FPU_FSR_TYPE unsigned long
OpenPOWER on IntegriCloud