Fix build error
This commit is contained in:
parent
e5fd27f2f2
commit
79690d03be
@ -58,12 +58,11 @@ Debug_Registers(int argc, const char *argv[])
|
||||
|
||||
REGISTER_DBGCMD(registers, "Show CPU registers", Debug_Registers);
|
||||
|
||||
extern uint64_t *__symtab_start;
|
||||
void
|
||||
Debug_Backtrace(int argc, const char *argv[])
|
||||
{
|
||||
TrapFrame *tf = frames[CPU()];
|
||||
uint64_t *ptr = (uint64_t *)__symtab_start;
|
||||
uint64_t *ptr;
|
||||
uint64_t rip = tf->rip;
|
||||
uint64_t rbp = tf->rbp;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user