aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-e7000.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-e7000.c')
-rw-r--r--gdb/remote-e7000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-e7000.c b/gdb/remote-e7000.c
index 35ce227..ae89e82 100644
--- a/gdb/remote-e7000.c
+++ b/gdb/remote-e7000.c
@@ -569,7 +569,7 @@ e7000_start_remote (void *dummy)
int try;
int quit_trying;
- immediate_quit = 1; /* Allow user to interrupt it */
+ immediate_quit++; /* Allow user to interrupt it */
/* Hello? Are you there? */
sync = 0;
@@ -635,7 +635,7 @@ e7000_start_remote (void *dummy)
puts_e7000debug ("b -\r"); /* Clear breakpoints */
expect_prompt ();
- immediate_quit = 0;
+ immediate_quit--;
/* This is really the job of start_remote however, that makes an assumption
that the target is about to print out a status message of some sort. That