This is the mail archive of the
mailing list for the GDB project.
Weird gdb problem
- From: Andrew Haley <aph at redhat dot com>
- To: gdb at sourceware dot org
- Cc: java at gcc dot gnu dot org
- Date: Tue, 18 Jul 2006 16:24:03 +0100
- Subject: Weird gdb problem
I seem to have broken the debuginfo from gcj.
When I step into a Java method I don't get info about args passed to
methods. But this is only for debuginfo compiled into libgcj -- when
I compile a test case myself I get correct args displayed. As in this
one, where I step into p.p(), the argument "this" is displayed:
p.p() (this=@2aaaad588e30) at Hello.java:7
0x00002aaaac057820 in java.lang.Object.Object() ()
Note that the first step gave the value of the "this" argument, and
the second one (in libgcj) didn't. Continuing:
(gdb) info args
So, to recap: I get values of args to methods displayed in gdb, but
only when I compile test cases. When stepping into libgcj itself, the
values of args aren't displayed.
So ... might anyone in gdb land like to guess how this might have broken?