> 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
 19:32:28  up   6:38,  2 users,  load average: 1.63, 0.87, 0.59
This commit is contained in:
tracer-ysyx 2024-03-20 19:32:28 +08:00 committed by xinyangli
parent 6ee929f0c7
commit f6630958b1

View file

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