mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 10:18:15 +09:00
UserspaceEmulator: Fix every line in backtraces showing EIP
Oops, we're supposed to show the return address for each frame, not the current EIP every time. :^)
This commit is contained in:
parent
d153fbf44e
commit
75500b449c
Notes:
sideshowbarker
2024-07-19 04:44:31 +09:00
Author: https://github.com/awesomekling
Commit: 75500b449c
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ void Emulator::dump_backtrace(const Vector<FlatPtr>& backtrace)
|
|||
for (auto& address : backtrace) {
|
||||
u32 offset = 0;
|
||||
String symbol = m_elf->symbolicate(address, &offset);
|
||||
dbgprintf("==%d== %#08x %s +%#x\n", s_pid, m_cpu.eip(), symbol.characters(), offset);
|
||||
dbgprintf("==%d== %#08x %s +%#x\n", s_pid, address, symbol.characters(), offset);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue