This is the mail archive of the java-discuss@sources.redhat.com 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]

Re: GCJ functionality and stability


>> 1) Will using gcj allow me to use gdb to debug programs that use
>> JNI?

Alex> I can't see why it wouldn't -- but I never tried.

I've done this.  It definitely does work, though sometimes you have to
play little tricks to get gdb to do the right thing.  eg you can't put
a breakpoint on a JNI function until the shared library is loaded.

Tom

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