mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
Kernel+LibELF: Use hex instead of decimal for stack offsets in back traces (#4728)
Hex is the de facto format for representing memory addresses, make backtraces conform to that convention.
This commit is contained in:
parent
8161c99da2
commit
84c2be604a
2 changed files with 2 additions and 2 deletions
|
@ -171,7 +171,7 @@ NEVER_INLINE static void dump_backtrace_impl(FlatPtr base_pointer, bool use_ksym
|
|||
if (symbol.symbol->address == g_highest_kernel_symbol_address && offset > 4096)
|
||||
dbgln("{:p}", symbol.address);
|
||||
else
|
||||
dbgln("{:p} {} +{}", symbol.address, demangle(symbol.symbol->name), offset);
|
||||
dbgln("{:p} {} +0x{:x}", symbol.address, demangle(symbol.symbol->name), offset);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue