Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(575)

Unified Diff: src/trusted/gdb_rsp/host.cc

Issue 5633007: This change contains changes that were made on a separate copy of this code,... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/trusted/gdb_rsp/host.cc
===================================================================
--- src/trusted/gdb_rsp/host.cc (revision 3879)
+++ src/trusted/gdb_rsp/host.cc (working copy)
@@ -240,8 +240,9 @@
// Wait to see if we receive a break
bool Host::WaitForBreak() {
noelallen_use_chromium 2010/12/07 23:04:44 Should we kill HS_STOPPING?
mlinck 2010/12/10 21:10:27 A break request results in the "stopping" state. T
- // We can not wait if we are not running
- if (HS_RUNNING != status_) return false;
+ // We can not wait if we are already stopped
+ if (HS_RUNNING != status_
+ && HS_STOPPING != status_) return false;
Packet rx;
std::string str;

Powered by Google App Engine
This is Rietveld 408576698