move debugger_running to correct place

pull/22966/head
Fedor Indutny 2011-09-24 13:04:35 +07:00 committed by Ryan Dahl
parent 9e09fc0508
commit 2c9bcb28be
1 changed files with 1 additions and 1 deletions

View File

@ -2338,6 +2338,7 @@ static void ParseArgs(int argc, char **argv) {
option_end_index = i; option_end_index = i;
} }
static volatile bool debugger_running = false;
static void EnableDebug(bool wait_connect) { static void EnableDebug(bool wait_connect) {
// Start the debug thread and it's associated TCP server on port 5858. // Start the debug thread and it's associated TCP server on port 5858.
@ -2362,7 +2363,6 @@ static void EnableDebug(bool wait_connect) {
static volatile bool hit_signal; static volatile bool hit_signal;
static volatile bool debugger_running = false;
static void DebugSignalCB(const Debug::EventDetails& details) { static void DebugSignalCB(const Debug::EventDetails& details) {