> 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:28:16 up 22:03, 2 users, load average: 0.36, 0.46, 0.76
This commit is contained in:
parent
5d03e68517
commit
17c514fca5
1 changed files with 1 additions and 1 deletions
|
@ -119,6 +119,6 @@ void ftrace_return(vaddr_t pc, vaddr_t addr) {
|
||||||
}
|
}
|
||||||
func_t *f = get_func(addr);
|
func_t *f = get_func(addr);
|
||||||
Trace("%*s0x%x ret 0x%x <%s+0x%x>", ftrace_stack_len, "", pc, addr,
|
Trace("%*s0x%x ret 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);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue