> 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:29:00  up  22:04,  2 users,  load average: 0.31, 0.44, 0.74
This commit is contained in:
tracer-ysyx 2024-03-26 12:29:00 +08:00 committed by xinyangli
parent 5c89a7f11f
commit 780a596a2e

View file

@ -115,7 +115,7 @@ void ftrace_return(vaddr_t pc, vaddr_t addr) {
vaddr_t tco_addr = ftrace_stack[ftrace_stack_len];
func_t *f = get_func(tco_addr);
Trace("%*s0x%x ret 0x%x <%s+0x%x> (TCO)", ftrace_stack_len, "", pc, tco_addr,
f == NULL ? "???" : f->name, tco_addr - f->start);
f == NULL ? "???" : f->name, f == NULL ? addr : addr - f->start);
}
func_t *f = get_func(addr);
Trace("%*s0x%x ret 0x%x <%s+0x%x>", ftrace_stack_len, "", pc, addr,