This is the mail archive of the java@gcc.gnu.org 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]
Other format: [Raw text]

Re: Overview of interpreted debugging design


>>>>> "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


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