gdb with gcj

Bryce McKinlay mckinlay@redhat.com
Fri Apr 30 21:08:00 GMT 2004


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /