Re: gcj and debugging

Michael Haupt <[email protected]> Mon, 11 Feb 2013 17:47:00 +0100
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
Andrew,

Am 11.02.2013 um 17:32 schrieb Andrew Haley <[email protected]>:
> The Right Way to do it, as is done with the thread library, is to have
> a target library that GDB opens which contains accessor methods for all
> of the VM's structures.

shouldn't DWARF be expressive enough in most cases?

I agree that in order to understand a java.lang.String as a string, some such magic is agreeable, but then I don't really have to have it that comfy. Having gdb print array contents would be wonderful for now. :-) I'm asking about this on the gdb list as it is unrelated to gcj.

Best,

Michael

-- 
Dr. Michael Haupt
Principal Member of Technical Staff
Phone: +49 331 200 7277, Fax: +49 331 200 7561
Oracle Labs
Oracle Deutschland B.V. & Co. KG, Schiffbauergasse 14, 14467 Potsdam, Germany