mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:27:35 +00:00
UserspaceEmulator: Add Emulator::dump_backtrace()
This gives you a nice, symbolicated backtrace at the current EIP. :^)
This commit is contained in:
parent
584923445c
commit
ddf7b817df
2 changed files with 21 additions and 0 deletions
|
@ -40,6 +40,7 @@ public:
|
|||
explicit Emulator(NonnullRefPtr<ELF::Loader>);
|
||||
|
||||
bool load_elf();
|
||||
void dump_backtrace();
|
||||
|
||||
int exec();
|
||||
u32 virt_syscall(u32 function, u32 arg1, u32 arg2, u32 arg3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue