Use the operator<< generator more widely.
Change-Id: Iae3b8f32f49f4c91cd41c53bbafb95db071d57bb
diff --git a/jdwpspy/Android.mk b/jdwpspy/Android.mk
index 60ccb38..a6c2f64 100644
--- a/jdwpspy/Android.mk
+++ b/jdwpspy/Android.mk
@@ -5,8 +5,7 @@
LOCAL_SRC_FILES:= \
Main.cpp \
- Net.cpp \
- find_JdwpConstants.cpp
+ Net.cpp
LOCAL_C_INCLUDES += \
art/src
@@ -14,4 +13,3 @@
LOCAL_MODULE := jdwpspy
include $(BUILD_HOST_EXECUTABLE)
-
diff --git a/jdwpspy/Net.cpp b/jdwpspy/Net.cpp
index abcae21..55515f1 100644
--- a/jdwpspy/Net.cpp
+++ b/jdwpspy/Net.cpp
@@ -510,7 +510,7 @@
printf("%s --> %s\n", prefix, getCommandName(cmdSet, cmd));
} else {
std::ostringstream ss;
- ss << error;
+ ss << "TODO"; // get access to the operator<<, or regenerate it for jdwpspy?
printf("%s REPLY dataLen=%-5u id=0x%08x flags=0x%02x err=%d (%s) [%02d:%02d]\n",
prefix, dataLen, id, flags, error, ss.str().c_str(), min,sec);
}
diff --git a/jdwpspy/find_JdwpConstants.cpp b/jdwpspy/find_JdwpConstants.cpp
deleted file mode 100644
index d035d2e..0000000
--- a/jdwpspy/find_JdwpConstants.cpp
+++ /dev/null
@@ -1 +0,0 @@
-#include "jdwp/jdwp_constants.cc"