This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Binary Compatibility: debug info for compiled Java programs
- From: Per Bothner <per at bothner dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: java at gcc dot gnu dot org, gdb at sources dot redhat dot com
- Date: Wed, 09 Jun 2004 07:12:59 -0700
- Subject: Re: Binary Compatibility: debug info for compiled Java programs
- References: <16582.65277.81118.189889@cuddles.cambridge.redhat.com>
Andrew Haley wrote:
Bryce pointed out that there is another solution that he favours,
which involves gdb reading libgcj's metadata.
There is already (somewhat bit-rotted) code to do this - but of
course for the old ABI.
Note that we need a solution that also handles dynamically-loaded
interpreted or (future) jit-compiled classes.
That argues for having gdb reading meta-data from the interior.
Both solutions require gdb changes: to generate DWARF data at runtime
requires some changes because gdb is used to reading debug data from
object files, not from the inferior process.
The Java support in gdb can sort-of do either.
--
--Per Bothner
per@bothner.com http://per.bothner.com/