This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gdb and gcj: understandings
- From: Tom Tromey <tromey at redhat dot com>
- To: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Cc: Nic Ferrier <nferrier at tapsellferrier dot co dot uk>, java at gcc dot gnu dot org
- Date: 01 Nov 2002 23:08:31 -0700
- Subject: Re: gdb and gcj: understandings
- References: <0F9D8779-EDFF-11D6-9D67-003065F97F7C@waitaki.otago.ac.nz>
- Reply-to: tromey at redhat dot com
>>>>> "Bryce" == Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:
Bryce> I had a work around for this when I was last debugging class
Bryce> stuff. "set lang C"?
In some contexts, `set lang c++' works for me.
In other contexts, nothing works. Also you can make gdb go into an
infinite loop, printing the class, if you aren't careful. This
happens to me from time to time (and due to a bug in Emacs, I think, I
can't C-c gdb -- I have to kill it and start over).
The java support in gdb really needs attention. Unfortunately it
seems to need expert attention, not the surface type I can usually
afford.
Tom