mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 18:32:28 -05:00
5d24b5f4be
For now this only allows us to single-step through execution and inspect part of the execution environment for debugging This also allows to run to function return and sending signals to the VM This changes the behavior of SIGINT for UE to pause execution and then terminate if already paused A way of setting a watchpoint for a function would be a good addition in the future, the scaffold for this is already present, we only need to figure out a way to find the address of a function On a side note I have changed all occurences of west-const to east const
22 lines
423 B
CMake
22 lines
423 B
CMake
serenity_component(
|
|
UserspaceEmulator
|
|
RECOMMENDED
|
|
TARGETS UserspaceEmulator
|
|
)
|
|
|
|
set(SOURCES
|
|
Emulator.cpp
|
|
Emulator_syscalls.cpp
|
|
MallocTracer.cpp
|
|
MmapRegion.cpp
|
|
Range.cpp
|
|
RangeAllocator.cpp
|
|
Region.cpp
|
|
SimpleRegion.cpp
|
|
SoftCPU.cpp
|
|
SoftMMU.cpp
|
|
main.cpp
|
|
)
|
|
|
|
serenity_bin(UserspaceEmulator)
|
|
target_link_libraries(UserspaceEmulator LibX86 LibDebug LibCore LibPthread LibLine)
|