This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Binary Compatibility: debug info for compiled Java programs


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]