Bug 8428 - Cannot find user-level thread for LWP
Summary: Cannot find user-level thread for LWP
Status: RESOLVED INVALID
Alias: None
Product: gdb
Classification: Unclassified
Component: java (show other bugs)
Version: 3.90
: P3 enhancement
Target Milestone: 6.8
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-07 16:08 UTC by hertzog.philippe
Modified: 2009-08-04 20:56 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
gdb-bug.txt (453 bytes, application/octet-stream)
, hertzog.philippe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hertzog.philippe 2003-08-07 16:08:01 UTC
[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
Comment 1 Tom Tromey 2009-08-04 20:56:24 UTC
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.