Unbreak ddb stepping over special frames after the following commit:
Revision Changes Path 1.113 +4 -2 src/sys/i386/i386/apic_vector.s 1.117 +7 -1 src/sys/i386/i386/exception.s 1.36 +7 -7 src/sys/i386/i386/local_apic.c 1.298 +61 -63 src/sys/i386/i386/trap.c 1.62 +15 -22 src/sys/i386/i386/vm86.c 1.32 +4 -2 src/sys/i386/i386/vm86bios.s 1.21 +2 -2 src/sys/i386/include/apicvar.h 1.27 +2 -2 src/sys/i386/isa/atpic.c 1.50 +2 -1 src/sys/i386/isa/atpic_vector.s 1.35 +1 -1 src/sys/i386/isa/icu.h Tested by: kris, Peter Holm No objections from: kmacy
This commit is contained in:
parent
9b2f1a0740
commit
3c97ab97bf
@ -360,9 +360,9 @@ db_nextframe(struct i386_frame **fp, db_addr_t *ip, struct thread *td)
|
||||
* current frame.
|
||||
*/
|
||||
if (frame_type == INTERRUPT)
|
||||
tf = (struct trapframe *)((int)*fp + 12);
|
||||
tf = (struct trapframe *)((int)*fp + 16);
|
||||
else
|
||||
tf = (struct trapframe *)((int)*fp + 8);
|
||||
tf = (struct trapframe *)((int)*fp + 12);
|
||||
|
||||
if (INKERNEL((int) tf)) {
|
||||
esp = get_esp(tf);
|
||||
|
Loading…
Reference in New Issue
Block a user