display loop runs

This commit is contained in:
water
2021-08-04 21:30:08 -04:00
parent 0c7f9e1850
commit 821c2ab42a
30 changed files with 599 additions and 52 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ std::vector<BacktraceFrame> Debugger::get_backtrace(u64 rip, u64 rsp) {
if (frame.rip_info.knows_function && frame.rip_info.func_debug &&
frame.rip_info.func_debug->stack_usage) {
fmt::print("{}\n", frame.rip_info.function_name);
fmt::print("{} from {}\n", frame.rip_info.function_name, frame.rip_info.func_debug->obj_name);
// we're good!
u64 rsp_at_call = rsp + *frame.rip_info.func_debug->stack_usage;