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

Unified Diff: src/execution.h

Issue 42173: Added automatic debug break for processing debugger commands (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 9 months 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
« no previous file with comments | « src/debug.cc ('k') | src/execution.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/execution.h
===================================================================
--- src/execution.h (revision 1507)
+++ src/execution.h (working copy)
@@ -35,7 +35,8 @@
enum InterruptFlag {
INTERRUPT = 1 << 0,
DEBUGBREAK = 1 << 1,
- PREEMPT = 1 << 2
+ DEBUGCOMMAND = 1 << 2,
+ PREEMPT = 1 << 3
};
class Execution : public AllStatic {
@@ -159,6 +160,8 @@
static void Interrupt();
static bool IsDebugBreak();
static void DebugBreak();
+ static bool IsDebugCommand();
+ static void DebugCommand();
static void Continue(InterruptFlag after_what);
private:
« no previous file with comments | « src/debug.cc ('k') | src/execution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698