Fix build error

This commit is contained in:
Ali Mashtizadeh 2014-09-05 18:18:49 -07:00
parent e5fd27f2f2
commit 79690d03be

View File

@ -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;