Add a JDWP::Request type to replace the old uint8_t* and int.
This also lets us check that all the data in a (successful) request
is actually read, though doing so caught two bugs in the tests, and
may well catch bugs in the actual debuggers.
Change-Id: Ibed402e6f1c0c7a1d19d61f0be9bddd0c2f5a388
diff --git a/build/Android.common.mk b/build/Android.common.mk
index 5262ce0..f35458c 100644
--- a/build/Android.common.mk
+++ b/build/Android.common.mk
@@ -188,6 +188,7 @@
src/jdwp/jdwp_expand_buf.cc \
src/jdwp/jdwp_handler.cc \
src/jdwp/jdwp_main.cc \
+ src/jdwp/jdwp_request.cc \
src/jdwp/jdwp_socket.cc \
src/jdwp/object_registry.cc \
src/jni_internal.cc \