This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [RFA] gnu.gcj.jdwp.transport: packet classes
- From: Michael Koch <konqueror at gmx dot de>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: GCJ Patches <java-patches at gcc dot gnu dot org>
- Date: Sat, 28 May 2005 09:39:18 +0200
- Subject: Re: [RFA] gnu.gcj.jdwp.transport: packet classes
- References: <1117228949.4460.29.camel@lindt.uglyboxes.com>
On Fri, May 27, 2005 at 02:22:29PM -0700, Keith Seitz wrote:
> Hi,
>
> So, to start simple, here are three classes to deal with constructing
> packets.
>
> JDWP has two packet types: command packets and reply packets. The
> debugger sends (only) command packets to the vm. Each packet has its own
> packet id.
>
> When a reply is sent from the VM, the reply packet must use the same id
> as the corresponding command packet.
>
> Other than that, I don't think there is anything too confusing about
> this. A nice and easy one to start. :-)
>
> [Yes, I do have unit tests for this. Someone will send testsuite patches
> soon.]
>
> Questions/comments/concerns?
> Keith
This code seems to independant from VM and should move the a package that
can be shared with GNU classpath from start. I would suggest gnu.classpath.jdwp.*.
What do you think?
Michael
--
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
Join the community at http://planet.classpath.org/