summaryrefslogtreecommitdiff
path: root/devel/gdb53
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-10-12 19:06:55 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-10-12 19:06:55 +0000
commit55eef9508e35cfee87a806eb2007b0c235b20ac1 (patch)
treea489b47bb7b4202a43a96532eadc74dccd70a4e4 /devel/gdb53
parentFix a typo: s/lawier/lawyer/ (diff)
Jake is changing the trapframe/regs/ucontext structures for FreeBSD/sparc64.
Diffstat (limited to 'devel/gdb53')
-rw-r--r--devel/gdb53/files/patch-sparc_fbsd.mh16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/gdb53/files/patch-sparc_fbsd.mh b/devel/gdb53/files/patch-sparc_fbsd.mh
new file mode 100644
index 000000000000..76462162ffe2
--- /dev/null
+++ b/devel/gdb53/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