When SMPng was first committed, we removed 'cpl' from the interrupt
frame. Teach ddb about this as there is one less word for it to skip over when finding a trapframe on the interrupt frame stack.
This commit is contained in:
parent
ede6a7a683
commit
910fdf814a
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user