> compile NEMU

ysyx_22040000 李心杨
Linux calcite 6.6.19 #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar  1 12:35:11 UTC 2024 x86_64 GNU/Linux
 12:27:24  up  22:03,  2 users,  load average: 0.45, 0.49, 0.79
This commit is contained in:
tracer-ysyx 2024-03-26 12:27:24 +08:00 committed by xinyangli
parent 352bc538ce
commit e1fa3a6cb3

View file

@ -104,7 +104,7 @@ void ftrace_call(vaddr_t pc, vaddr_t addr) {
"FTRACE_STACK_SIZE.");
ftrace_stack[ftrace_stack_len] = pc + 4;
Trace("%*s0x%x call 0x%x <%s+0x%x>", ftrace_stack_len, "", pc, addr,
f == NULL ? "???" : f->name, addr - f->start);
f == NULL ? "???" : f->name, f == NULL ? addr : addr - f->start);
ftrace_stack_len++;
}