fix: print eip instead of ebp

This commit is contained in:
starnakin 2024-09-17 13:16:07 +02:00
parent faed2a66f1
commit 2f14074e4b

View File

@ -7,7 +7,7 @@ void print_stack(void)
(struct stackframe *)__builtin_frame_address(0);
while (stack) {
kprintf(0, "stack->ebp: %d\n", stack->ebp);
kprintf(0, "stack->ebp: %d\n", stack->eip);
stack = stack->ebp;
}
}