summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2001-10-08 12:46:01 +0000
committeriedowse <iedowse@FreeBSD.org>2001-10-08 12:46:01 +0000
commit3cfe16a87bb4f1b8476c2b6939f94ca24d090ef5 (patch)
tree03b9210af562a069390b13b2e77c3ee46ad493c6
parenta0ca581fb2debf6548090483c4de1ee8e20f2580 (diff)
downloadFreeBSD-src-3cfe16a87bb4f1b8476c2b6939f94ca24d090ef5.zip
FreeBSD-src-3cfe16a87bb4f1b8476c2b6939f94ca24d090ef5.tar.gz
Catch up with the SMPng reduced interrupt frame size. The corresponding
change was made to DDB months ago (i386/i386/db_trace.c revision 1.37). Reviewed by: bde
-rw-r--r--gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c2
-rw-r--r--gnu/usr.bin/binutils/gdb/kvm-fbsd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c b/gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c
index 45d90a0..f2815bb 100644
--- a/gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c
+++ b/gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c
@@ -176,7 +176,7 @@ struct frame_info *fr;
return (read_memory_integer (fr->frame + 8 + oEIP, 4));
case tf_interrupt:
- return (read_memory_integer (fr->frame + 16 + oEIP, 4));
+ return (read_memory_integer (fr->frame + 12 + oEIP, 4));
case tf_syscall:
return (read_memory_integer (fr->frame + 8 + oEIP, 4));
diff --git a/gnu/usr.bin/binutils/gdb/kvm-fbsd.c b/gnu/usr.bin/binutils/gdb/kvm-fbsd.c
index 45d90a0..f2815bb 100644
--- a/gnu/usr.bin/binutils/gdb/kvm-fbsd.c
+++ b/gnu/usr.bin/binutils/gdb/kvm-fbsd.c
@@ -176,7 +176,7 @@ struct frame_info *fr;
return (read_memory_integer (fr->frame + 8 + oEIP, 4));
case tf_interrupt:
- return (read_memory_integer (fr->frame + 16 + oEIP, 4));
+ return (read_memory_integer (fr->frame + 12 + oEIP, 4));
case tf_syscall:
return (read_memory_integer (fr->frame + 8 + oEIP, 4));
OpenPOWER on IntegriCloud