Overview of interpreted debugging design
Tom Tromey
tromey@redhat.com
Tue May 31 17:30:00 GMT 2005
>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:
Keith> Yes, that's correct. With the refactoring, almost all of the work I've
Keith> done is now in gnu/classpatch/jdwp. Only GcjVirtualMachine.java and
Keith> natGcjVirtualMachine.cc remain in gnu/gcj/jdwp.
A typical Classpath approach to this sort of thing is to name the
vm-specific file, e.g., gnu.classpath.jdwp.VMVirtualMachine, and then
provide a null implementation in classpath/vm/reference, with javadoc
explaining what everything does. Then each VM makes its own version
of this class. Look for "VM*.java" in libgcj or classpath for plenty
of examples.
Tom
More information about the Java
mailing list