BizHawk icon indicating copy to clipboard operation
BizHawk copied to clipboard

Universal GDB stub support

Open GoogleCodeExporter opened this issue 10 years ago • 6 comments

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

GoogleCodeExporter avatar Jun 22 '15 14:06 GoogleCodeExporter

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.

YoshiRulz avatar Oct 31 '22 22:10 YoshiRulz

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?

vadosnaprimer avatar Nov 01 '22 15:11 vadosnaprimer

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.

CasualPokePlayer avatar Nov 01 '22 22:11 CasualPokePlayer