fix: print eip instead of ebp
This commit is contained in:
parent
faed2a66f1
commit
2f14074e4b
@ -7,7 +7,7 @@ void print_stack(void)
|
|||||||
(struct stackframe *)__builtin_frame_address(0);
|
(struct stackframe *)__builtin_frame_address(0);
|
||||||
|
|
||||||
while (stack) {
|
while (stack) {
|
||||||
kprintf(0, "stack->ebp: %d\n", stack->ebp);
|
kprintf(0, "stack->ebp: %d\n", stack->eip);
|
||||||
stack = stack->ebp;
|
stack = stack->ebp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user