summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-02-07 22:41:47 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-02-07 22:41:47 +0000
commit67b00ca875ceeab250759e1e95775886442704df (patch)
tree0fe2a233bcb0ceea28f31e057ac697f692989528
parente8288d7f9cdff1c2f32160fe2a5697859c128811 (diff)
Notes
-rw-r--r--sys/amd64/amd64/db_trace.c2
-rw-r--r--sys/i386/i386/db_trace.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/db_trace.c b/sys/amd64/amd64/db_trace.c
index 676b0dc4ba50..add84d9f5423 100644
--- a/sys/amd64/amd64/db_trace.c
+++ b/sys/amd64/amd64/db_trace.c
@@ -214,7 +214,7 @@ db_nextframe(fp, ip)
}
break;
case INTERRUPT:
- tf = (struct trapframe *)((int)*fp + 16);
+ tf = (struct trapframe *)((int)*fp + 12);
if (INKERNEL((int) tf)) {
eip = tf->tf_eip;
ebp = tf->tf_ebp;
diff --git a/sys/i386/i386/db_trace.c b/sys/i386/i386/db_trace.c
index 676b0dc4ba50..add84d9f5423 100644
--- a/sys/i386/i386/db_trace.c
+++ b/sys/i386/i386/db_trace.c
@@ -214,7 +214,7 @@ db_nextframe(fp, ip)
}
break;
case INTERRUPT:
- tf = (struct trapframe *)((int)*fp + 16);
+ tf = (struct trapframe *)((int)*fp + 12);
if (INKERNEL((int) tf)) {
eip = tf->tf_eip;
ebp = tf->tf_ebp;