mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:57:45 +00:00
UserspaceEmulator: Show file and line numbers in backtraces :^)
This was super easy thanks to the awesome LibDebug work by @itamar8910!
This commit is contained in:
parent
d1dd5013ea
commit
0f91dfa139
3 changed files with 10 additions and 2 deletions
|
@ -30,6 +30,7 @@
|
|||
#include "SoftCPU.h"
|
||||
#include "SoftMMU.h"
|
||||
#include <AK/Types.h>
|
||||
#include <LibDebug/DebugInfo.h>
|
||||
#include <LibELF/Loader.h>
|
||||
#include <LibX86/Instruction.h>
|
||||
#include <sys/types.h>
|
||||
|
@ -60,6 +61,7 @@ public:
|
|||
|
||||
private:
|
||||
NonnullRefPtr<ELF::Loader> m_elf;
|
||||
OwnPtr<DebugInfo> m_debug_info;
|
||||
|
||||
SoftMMU m_mmu;
|
||||
SoftCPU m_cpu;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue