gdb with gcj

Andrew Haley aph@redhat.com
Tue May 4 10:37:00 GMT 2004


Vladimir Leven writes:
 > (gdb) run
 > Starting program: /home/levinv/dev/GcjDebugTest/a.out
 > [New Thread 16384 (LWP 2154)]
 > [New Thread 32769 (LWP 2155)]
 > [New Thread 16386 (LWP 2156)]
 > [Switching to Thread 16384 (LWP 2154)]
 > 
 > Breakpoint 1, test.main(java.lang.String[]) (args=@1003bfe8) at test.java:3
 > 3 test runme = new test();
 > Current language: auto; currently java
 > (gdb) step
 > 0x30024f60 in __cache_line_size () from /lib/ld.so.1
 > [As you can see, I cannot even step through the program without it 
 > leaving Java mode. On Friday I was able to do that (not sure why), but 
 > no luck today. ]
You're stepping into the shared library loader to fixup a PLT entry
There's nothing weird or unexpected about this.
When you leave the shared library loader, you should get back to the
main context.
Andrew.


More information about the Java mailing list

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