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
this exe to convert an address offset to a source code file/line.
Andrew
----- Original Message -----
From: Matt Johnson (DH)
To: gbadev@yahoogroups.com
Sent: Sunday, July 01, 2001 2:02 AM
Subject: 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?
list rules: http://www.gbadev.org/rules.txt
unsubscribe: gbadev-unsubscribe@egroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]