public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* gcj debug question
@ 2022-10-25 10:48 Andrew Dinn
  2022-11-09 16:10 ` Tom Tromey
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Dinn @ 2022-10-25 10:48 UTC (permalink / raw)
  To: gdb-list

Hi gdb experts,

I'm hoping there is still enough institutional memory left somewhere in 
this forum to provide info about (the now defunct) DWARF support for 
gcj. Specifically, does anyone have a long enough memory to recall 
whether and, if so, how gcj advertised the presence of Java reflective 
class objects (instances of java.lang.Class) to the debugger?

   - Did it insert linker symbols for e.g. org.my.Foo.class into a 
generated binary?

   - Did it emit DWARF info records with tag DW_TAG_variable and 
associated attributes like name, type, linkage name and location?

   - In the latter case were these records located in the class (tag 
DW_TAG_class) info record or at top level in the same compile unit as 
the class?

Of course, the question assumes that java.lang.Class instances were 
present in the image heap in advance of startup, which may be completely 
unwarranted as they coudl equally be created on demand during program 
bootstrap or normal execution. Correction of any such erroneous 
presumption would be most welcome.

Answers on a (e-)postcard would be much appreciated. Actually, I'd be 
happy just with the name of someone who knows someone who might know.

regards,


Andrew Dinn
-----------


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-11-21 14:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-25 10:48 gcj debug question Andrew Dinn
2022-11-09 16:10 ` Tom Tromey
2022-11-21 14:23   ` Andrew Dinn
2022-11-21 14:35     ` Jan Vrany

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).