Profiling and debugging tools?
Moderator: BigEvilCorporation
Profiling and debugging tools?
Is there a way to use any Genesis emulator along with GDB? (preferably for Linux and not requiring an expensive computer). I know Gens Kmod has some fancy debugging facilities, but AFAIK it is Windows only and it doesn't look like it can be integrated with GDB or any other debugger. Also Exodus debugging support looks great, but again it is Windows only, and it also doesn't look that can be used with an external debugger like GDB.
If there is no Genesis emulator that can deal with GDB, is there other kind of simulator/emulator that allows it? (just for profiling/debugging some routines) I suppose it can be done with qemu, but it looks complicated. Anyone using qemu here for debugging 68k code?
What are your favorite tools for Genesis code profiling and debugging?
If there is no Genesis emulator that can deal with GDB, is there other kind of simulator/emulator that allows it? (just for profiling/debugging some routines) I suppose it can be done with qemu, but it looks complicated. Anyone using qemu here for debugging 68k code?
What are your favorite tools for Genesis code profiling and debugging?
This is my patched version of Gens:Stef wrote:... Currently there is no emulator with GDB support.
http://youtu.be/DgboHbCGsd4
I've never released this build of the emulator. It's got a bunch of other fixes and features. GDB support is basically just an implementation of the GDB remote debug protocol (http://sourceware.org/gdb/current/onlin ... tocol.html). I can debug both 68Ks in a CD system and both SH2s in a 32x simultaneously. The remote part of it works too - you can debug from one machine to another, including from Linux to Windows, etc.
I don't think I'll release this one as-is. There are too many hacked up copies of Gens floating around, and too many other hacks in my build. However, I'd be very happy to port GDB support into another emulator should there be an opening of source...
I don't think I'll release this one as-is. There are too many hacked up copies of Gens floating around, and too many other hacks in my build. However, I'd be very happy to port GDB support into another emulator should there be an opening of source...
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
I understand your point about having too much Gens hacks version, also Gens is not really accurate and probably not a good emulator to test homebrew dev. I think Genesis Plus would be a nice candidate for GDB support as Exodus (though it has the inconvenient of strong CPU requirement to run at full speed).
Feature like that would certainly be welcome in PicoDrive:Graz wrote:I don't think I'll release this one as-is. There are too many hacked up copies of Gens floating around, and too many other hacks in my build. However, I'd be very happy to port GDB support into another emulator should there be an opening of source...
https://github.com/notaz/picodrive
It has 32X/CD support, but is performance oriented and has weaker VDP emulation compared to Genesis Plus, although I plan to work on that. Both emus aren't targeting windows though, so if that's what you are looking for we're out of luck I guess.
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
Cool! Great news about PicoDrive.notaz wrote:FWIW it's working in PicoDrive too. Doesn't latest Kega do it too?
Any supposedly, it is in the LATEST Fusion... which is Windows only, yet somehow I and a few others cannot get the audio to work at all in Windows. The linux version is an update behind and sounds dreadful for DMA PWM... the MacOS version as well. WINE also doesn't give any audio for the newest Windows version of FUSION.