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
e8288d7f9c
commit
67b00ca875
@ -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