On Fri, 12 Aug 2005 14:01:59 -0600, Orion Poplawski wrote:
> I'm working on packaging plplot for Fedora Extras. It has a Java
> interface that appears to work fine on x86 but not on ppc. Basically
> the Java stuff is just a JNI wrapper to the C library.
>
> Is there any way to run the java byte-code/JVM under a debugger? My
> first attempt to debug was to compile the program to native code and run
> under gdb as mentioned on the gcj website, but the native code appears
> to run fine.
It's tricky - but possible - to debug interpreted bytecode. JDWP
protocol support is being worked on, but it's not ready yet.
Is plplot multithreaded? I've just discovered a thread-safety bug
in the gij interpreter which has lain unfixed for several years:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23367
I'm told that this bug only affects the interpreter.
Can you please tell us how this should be changed? Not necessarily a
patch, but an outline of one.
Andrew.