Commit graph

7 commits

Author SHA1 Message Date
Domenico V
1b1b584bc9 Update IDebuggableProcess.cs 2024-08-24 18:54:58 +03:00
svc64
6b74bcec7c Refactor stepping code, fix stepping over a breakpoint 2024-08-24 18:54:58 +03:00
svc64
5f5cb73baa Formatting 2024-08-24 18:54:58 +03:00
svc64
e3b8060417 Refactor the debugger interface
Also support stepping through blocking syscalls
2024-08-24 17:53:09 +03:00
svc64
ac438d6572 KThread based debug
This commit starts a big refactor to the original debugger PR by merryhime. The debugger now interfaces with KThreads instead of the ExecutionContext.

The corresponding KThread debug functions properly suspend/resume the thread and call the underlying debug related function in the ExecutionContext.

I also added debugging support to the AppleHV ExecutionContext.
2024-08-24 17:53:09 +03:00
merry
54bf7507d7 Call InvalidateCacheRegion
# Conflicts:
#	Ryujinx.HLE/HOS/ArmProcessContext.cs
#	src/Ryujinx.HLE/Debugger/Debugger.cs
#	src/Ryujinx.HLE/Debugger/IDebuggableProcess.cs
#	src/Ryujinx.HLE/HOS/Horizon.cs
#	src/Ryujinx.HLE/HOS/Kernel/Process/KProcess.cs
2024-08-24 17:53:09 +03:00
merry
39a3ba8329 IDebuggableProcess: Create and expose interface to enable implementation of debugging tools
# Conflicts:
#	src/ARMeilleure/State/DebugState.cs
#	src/ARMeilleure/State/ExecutionContext.cs
TODO: Fix comments. I also tried implementing AppleHV primitives here (it's actually broken).
2024-08-24 17:53:09 +03:00