commit | c61a267e98ed1038b74c33c7740414ced4a27d89 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Jun 21 14:52:29 2012 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu Jun 21 14:52:29 2012 -0700 |
tree | 48db3cf7fba36f71964f21755f38ebe35c4c21fa | |
parent | a21039c3ae2b20e44ceb2735251c04d0aac89afd [diff] [blame] |
Use UndoDebuggerSuspensions for JDWP ResumeVM rather than weakening ResumeAll's checking. Change-Id: I3ba71fb9e84664f130dd29ba8c13a8e1b6c18e46
diff --git a/src/debugger.cc b/src/debugger.cc index 1dbcccc..604560e 100644 --- a/src/debugger.cc +++ b/src/debugger.cc
@@ -1525,7 +1525,7 @@ } void Dbg::ResumeVM() { - Runtime::Current()->GetThreadList()->ResumeAll(true); + Runtime::Current()->GetThreadList()->UndoDebuggerSuspensions(); } void Dbg::SuspendThread(JDWP::ObjectId threadId) {