> > Can the
> > JDPA work with Blackdown or does it require us to port it to Linux??
> > Is the JPDA 100% java or does it require some native calls
> > that need to be rewritten for linux??
>
> Some porting is required. The Inprise JDK (available from Sun) has JPDA,
> Blackdown (currently) does not.
Does the Inprise JDK have all parts of JPDA?
I don't think so.
JPDA consists of the following three parts:
JVMDI (Java VM Debug Interface),
JDWP (Java Debug Wire Protocol) and
JDI (Java Debug Interface).
A Sun's implementation of JPDA for Solaris
(jpda1_0-solsparc.zip) and for Win32 (jpda1_0-win.zip)
contain some native executables, some native libraries and a JAR file.
Native libraries are libjdwp.so and libdt_socket.so.
The libjdwp.so is the implementation of JDWP and the
libdt_socket.so is used by an executable javadt, I suppose.
And I suppose only JDI requires an additional JAR file
named jpda.jar, which contains the following packages.
com/sun/jdi/
com/sun/jdi/event/
com/sun/jdi/request/
com/sun/jdi/connect/
com/sun/tools/jdi/
com/sun/tools/jdi/resources/
com/sun/tools/example/debug/expr/
com/sun/tools/example/debug/tty/
com/sun/tools/example/debug/bdi/
com/sun/tools/example/debug/event/
com/sun/tools/example/debug/gui/
Only JVM itself can provide JVMDI functions. I
understood it is the reason why Inprise guys decideed to
develop their JDK.
It's a wonder that JVMDI can't work with the Blackdown
JDK 1.2. The reference implementation seems to have an
implementation of JVMDI as far as I check the source
code of it. It's no wonder JVMDI doesn't work properly
with Sun's JIT (sunwjit.so). Doesn't JVMDI in the
Blackdown JDK work even if JIT is disabled?
Kazuyuki SHUDO Happy Hacking!
Muraoka Lab., Grad. School of Sci. & Eng., Waseda Univ.
E-mail: [EMAIL PROTECTED]
Address: Muraoka Lab., Waseda Univ.,
3-4-1 Okubo Shinjuku-ku Tokyo 169-8555 JAPAN
TEL: +81-3-3209-5198 FAX: +81-3-3209-5198
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]