[Converted from Gnats 1323] I cannot debug java application compiled with javac and javah using gdb debugger even with a simple Java program. Method reported here use gcj compiler which is not usable with JNI: http://www.gnu.org/software/gcc/java/gdb.html The same application can be debugged with gdb on Dec Alpha Tru64 or Apple MacOsX but not on linux ? Release: gdb 5.3.90_20030807 Environment: Linux Red Hat 8.0 (intel) How-To-Repeat: Allways
This report is quite old; sorry for the lack of response. If this is about debugging java programs running on the JDK, then that is not a feature that gdb has. I think this is what this report means, so I'm closing it as invalid. If you do mean debugging programs compiled with gcj, you'll have to be more specific. It works for me.