diff options
author | Andreas Kling <kling@serenityos.org> | 2020-07-21 19:00:03 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-21 19:08:01 +0200 |
commit | abebec0e04512254fffe79584066b75077456984 (patch) | |
tree | 76469503cd35a2326024b4d7f43831785192b046 /Demos/CMakeLists.txt | |
parent | 5c29f4e32612740cdc67537ae5c4ac620f22ac36 (diff) | |
download | serenity-abebec0e04512254fffe79584066b75077456984.zip |
UserspaceEmulator: Use the base address of instructions in backtraces
Instead of using SoftCPU::eip() which points at the *next* instruction
most of the time, stash away a "base EIP" so we can use it when making
backtraces. This makes the correct line number show up! :^)
Diffstat (limited to 'Demos/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions