Implement Dbg::Disconnected and Dbg::UndoDebuggerSuspensions.
You can now start and stop oatexec-based apps with DDMS running, with
no UNIMPLEMENTEDs.
Change-Id: Ic53e7bdd4ddd3ed93f9d807499d991ea30f48810
diff --git a/src/thread.cc b/src/thread.cc
index 9f54c36..d2c43d9 100644
--- a/src/thread.cc
+++ b/src/thread.cc
@@ -411,10 +411,9 @@
<< " tid=" << GetThinLockId()
<< " " << GetState() << "\n";
- int debug_suspend_count = 0; // TODO
os << " | group=\"" << group_name << "\""
<< " sCount=" << suspend_count_
- << " dsCount=" << debug_suspend_count
+ << " dsCount=" << debug_suspend_count_
<< " obj=" << reinterpret_cast<void*>(peer_)
<< " self=" << reinterpret_cast<const void*>(this) << "\n";
os << " | sysTid=" << GetTid()
@@ -730,6 +729,7 @@
runtime_(NULL),
exception_(NULL),
suspend_count_(0),
+ debug_suspend_count_(0),
class_loader_override_(NULL),
long_jump_context_(NULL),
throwing_OutOfMemoryError_(false),