Binary Compatibility: debug info for compiled Java programs

Andrew Haley aph@redhat.com
Wed Jun 9 13:18:00 GMT 2004


Daniel Jacobowitz writes:
 > 
 > I'm not familiar with the BC ABI (and missed the talk); could you give
 > me an example of what information you have at compile time and what you
 > generate at runtime?

All structures are laid out at runtime.

http://people.redhat.com/lockhart/.gcc04/MasterGCC-2side.pdf  Page 169.

 > I suspect that a fourth solution is possible: gcj generating DWARF
 > which describes how to read the metadata.  It may not be very
 > efficient, though, and it will still require a certain amount of
 > playing with GDB.

Yeah, that was suggested as well.  I forgot to mention it.  I don't
know if this is possible in DWARF data: don't member offsets have to
be constants?

I must admit I like this idea least of all!  Maybe I subconsciously
suppressed the memory.

Andrew.



More information about the Java mailing list