Notify the debugger of class preparation.
Change-Id: Ic9863d0cc1176c474df2239a286a01393845d589
diff --git a/src/jdwp/jdwp_event.cc b/src/jdwp/jdwp_event.cc
index 424d87f..22d3c24 100644
--- a/src/jdwp/jdwp_event.cc
+++ b/src/jdwp/jdwp_event.cc
@@ -1010,7 +1010,7 @@
* Valid mods:
* Count, ThreadOnly, ClassOnly, ClassMatch, ClassExclude
*/
-bool JdwpState::PostClassPrepare(int tag, RefTypeId refTypeId, const char* signature, int status) {
+bool JdwpState::PostClassPrepare(JdwpTypeTag tag, RefTypeId refTypeId, const std::string& signature, int status) {
ModBasket basket;
memset(&basket, 0, sizeof(basket));
@@ -1033,7 +1033,7 @@
FindMatchingEvents(EK_CLASS_PREPARE, &basket, matchList, &matchCount);
if (matchCount != 0) {
LOG(VERBOSE) << "EVENT: " << matchList[0]->eventKind << "(" << matchCount << " total) "
- << "thread=" << (void*) basket.threadId << ")";
+ << "thread=" << (void*) basket.threadId << ") " << signature;
suspendPolicy = scanSuspendPolicy(matchList, matchCount);
LOG(VERBOSE) << " suspendPolicy=" << suspendPolicy;