I highly doubt thats possible. I'm investigating the ELF format now, and its
use with EloGBA as some sort of source level debugging. But thats way far in
advance of where I'm at right now, my current skill level, and what I plan
on getting done first in the way of GBA tools. But I think remote GDB
debugging is probably on the TODO list for those emulators that are at that
maturity point.
GDB can communicate via external programs using TCP. Such was possible with
PalmOS emulator and GDB. Unfortunately I dont have the details on that
process. For remote debugging to work, the emulator itself would have to
support it, either through GDB's mechanism's or some other mechanism. GCC
can compile in a debug format called ELF I believe, a debugging format
spec'd out by Intel. I think GDB uses a standard way called Stabs but I only
spent a few hours looking into it. Maybe someone more familiar with GNU
tools can shed some light? :-)
Matt Johnson
> The biggest thing needed - and perhaps it exists and someone can
> point me there, is the ability to debug AND view what would be on the
> screen in pure emulator mode (i.e. if you don't have hardware/cable
> to run from the device.
>
> Does anyone have any info on these things?
First of all Hat's off to the PERM project and it's author. Such a GREAT way for someone to get started using GBA. Just being able to run the tutor1 demo...
eagle@...
Jun 30, 2001 6:46 pm
I have never used the project manager that comes with arm sdt as I much prefer the visual C ide. There are a few tools that make compiling directly from the...
Rogers, Jason L. ET2 ...
rogersjl@...
Jul 1, 2001 2:41 am
By modifying the template, I can actually build [your] tutor.bin directly in the project manager. with a one liner shortcut to a .bat file containing Igba...
eagle@...
Jul 1, 2001 3:17 pm
I highly doubt thats possible. I'm investigating the ELF format now, and its use with EloGBA as some sort of source level debugging. But thats way far in ...
Matt Johnson (DH)
matt2000@...
Jul 1, 2001 3:22 pm
There is a nice little tool that comes with the binutils called addr2line. You can use the debugging information output by the compiler in combination with...
Andrew Rollings
andrew_rollings@...
Jul 1, 2001 3:47 pm
I dont see emulator authors using it. It seems better to import the information directly from the debug output file. There's no clean way to facilate console...
Matt Johnson (DH)
matt2000@...
Jul 1, 2001 6:05 pm
When I wrote CGBide, I got console stuff working nicely. What you need is a decent debugging interface to the emulator (shared memory, COM object, or more...
Andrew Rollings
andrew_rollings@...
Jul 1, 2001 6:55 pm
I kind of missed this conversation, but I'm guessing it's about adding full C-source debugging to the emulators. Parsing an elf file for debug information...
Jeff S
jeff@...
Jul 1, 2001 7:16 pm
An alternative would be to generate a map as part of the build process, so that it wasn't necessary to constantly spawn addr2line. I took a brief look at the...
Andrew Rollings
andrew_rollings@...
Jul 1, 2001 7:20 pm
Sounds good. I'm also planning on writing a GBA IDE using ATL and WTL. I recently start doing ATL programming at work so I think this is a good project for me...
Matt Johnson (DH)
matt2000@...
Jul 1, 2001 10:21 pm
It seems a lot of us have the same goals. Perhaps we can group efforts? That is, Andrew, if your willing to give up MFC in favor of ATL/WTL ;-) There's an...
Matt Johnson (DH)
matt2000@...
Jul 1, 2001 10:23 pm
What about this: Is there a way to [at least] via one of the emulators (say, Igba for example), to include some print statements tyhat would go to some kind...
eagle@...
Jul 2, 2001 9:50 am
... Hash: SHA1 ... Apropos IDE: I plan to add GBA support to the coming KDevelop 3.0 (an Linux/Unix IDE,http://www.kdevelop.org) so it will be a complete IDE...
Sandy Meier
smeier@...
Jul 2, 2001 9:50 am
I'm thinking that even if you got sound working, there enough things missing from release 1 of EloGBA that you'd end up having to re-write such large portions...
Thomas
sorcererxiii@...
Jul 2, 2001 7:22 pm
Feedback would be more than welcome. As far as source level debugging I beileve the only option curently available is via jeffs cable and using a stub ( a...
Rogers, Jason L. ET2 ...
rogersjl@...
Jul 2, 2001 5:04 pm
... that it wasn't necessary to constantly spawn addr2line. I took a brief look at the elf docs, but haven't delved in yet. Too many other things on my plate. ...
Neil Graham
lerc@...
Jul 2, 2001 5:04 pm
... As addr2line is part of the GNU binutils, the sources are indeed available. However, it is licensed under the GPL, which you must take into account if you...