This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gdb with gcj
- From: Bryce McKinlay <mckinlay at redhat dot com>
- To: Vladimir Leven <vladimirl at wrx-ca dot com>
- Cc: java at gcc dot gnu dot org
- Date: Fri, 30 Apr 2004 17:08:04 -0400
- Subject: Re: gdb with gcj
- References: <40633001.3090605@wrx-ca.com> <408935D7.2060600@wrx-ca.com> <4092BD19.8060703@wrx-ca.com>
Vladimir Leven wrote:
I am trying to debug a simple gcj program using gdb. How does one
print out the values of variables? I can set breakpoints, but unable
to print variable values.
This seems to be a bug with gdb. I've been having the same problem with
cvs GCC against gdb 6.1. It doesn't seem to be limited to Java, the same
thing happens debuggins C++ code. Compiling without -O may help a little?
Bryce