Search the web
Sign In
New User? Sign Up
gbadev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
PERN Project SDK's and Emulators   Message List  
Reply | Forward Message #4820 of 15019 |
Re: [gbadev] PERN Project SDK's and Emulators

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?






Sun Jul 1, 2001 7:02 am

matt2000@...
Send Email Send Email

Forward
Message #4820 of 15019 |
Expand Messages Author Sort by Date

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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
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@...
Send Email
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...
Anders M Montonen
ammonton@...
Send Email
Jul 2, 2001
7:23 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help