This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb with gcj


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]