> 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:24:14 up 6:30, 2 users, load average: 0.48, 0.31, 0.36
This commit is contained in:
parent
4c3201b8e7
commit
173d04977c
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ static const char *get_func_name(vaddr_t addr) {
|
||||||
if(func_table[mid].start <= addr) l = mid + 1;
|
if(func_table[mid].start <= addr) l = mid + 1;
|
||||||
else r = mid - 1;
|
else r = mid - 1;
|
||||||
}
|
}
|
||||||
if(func_table[l].start + func_table[l].len < addr) return "???";
|
// if(func_table[l].start + func_table[l].len < addr) return "???";
|
||||||
return l == 0 ? "???" : func_table[l - 1].name;
|
return l == 0 ? "???" : func_table[l - 1].name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue