diff --git a/nemu/src/utils/ftrace.c b/nemu/src/utils/ftrace.c index e83e241..0c6cf2f 100644 --- a/nemu/src/utils/ftrace.c +++ b/nemu/src/utils/ftrace.c @@ -105,8 +105,8 @@ void ftrace_call(vaddr_t pc, vaddr_t addr) { "Ftrace stack exceed size limit, consider turn off ftrace or increase " "FTRACE_STACK_SIZE."); ftrace_stack[ftrace_stack_len] = pc + 4; - Trace("%*s0x%x call <%s+0x%x>", ftrace_stack_len, "", pc, f == NULL ? "???" : f->name, - addr); + Trace("%*s0x%x call 0x%x <%s+0x%x>", ftrace_stack_len, "", pc, addr, + f == NULL ? "???" : f->name, addr); ftrace_stack_len++; }