XRoar, GDB
Posted: Thu Apr 25, 2013 8:58 am
(Reposting here what I just sent to the coco list).
http://www.6809.org.uk/tmp/xroar/debugging.png
If you're interested in what's behind it, the current XRoar public git has a branch called "gdb":
Still breakpoints/watchpoints to add, once done this will actually be of some use...
BTW, I've been patching GDB myself to support 6809, but this must surely be an existing project somewhere. Damned if I can find one with google though; anyone got some pointers? In case not, here's my patch against GDB's git copy as of this morning:
http://www.6809.org.uk/tmp/xroar/gdb-m6809.diff
..ciaran
Update: hbreak now supported, and a copy of the GDB git copy with my branch in it made, clone with:
Further update: watchpoints now supported! Write (watch), read (rwatch) and access (awatch) should all do the right thing.
Snapshots of XRoar in the usual place, though if you want a 6809-patched GDB, that's still DIY...
http://www.6809.org.uk/tmp/xroar/debugging.png
If you're interested in what's behind it, the current XRoar public git has a branch called "gdb":
Code: Select all
git clone -b gdb http://www.6809.org.uk/repos/xroar.git
BTW, I've been patching GDB myself to support 6809, but this must surely be an existing project somewhere. Damned if I can find one with google though; anyone got some pointers? In case not, here's my patch against GDB's git copy as of this morning:
http://www.6809.org.uk/tmp/xroar/gdb-m6809.diff
..ciaran
Update: hbreak now supported, and a copy of the GDB git copy with my branch in it made, clone with:
Code: Select all
git clone -b m6809 http://www.6809.org.uk/repos/gdb.git
Snapshots of XRoar in the usual place, though if you want a 6809-patched GDB, that's still DIY...