BizHawk
BizHawk copied to clipboard
Universal GDB stub support
Provide an unified version of a GDB stub that works with all cores.
Original issue reported on code.google.com by [email protected] on 17 Nov 2014 at 4:04
I know almost no cores support it, but could IDebuggable's stepping be used as the basis for this? If not I suggest we hold off implementing IDebuggable anywhere while we redefine some services.
Step is implemented almost nowhere, but quite a lot of cores implement exec hooks. If we hook everywhere, won't it be the thing that will work with gdb too?
Exec hooks can be abused to be kinda like stepping. That has to be cautioned however, as you are in a callback within FrameAdvance, and when you return code will continue to be executed, so it is a tad tricky to manage.