diff options
Diffstat (limited to 'gdb/remote-array.c')
-rw-r--r-- | gdb/remote-array.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-array.c b/gdb/remote-array.c index 47d2833..9c3a9d7 100644 --- a/gdb/remote-array.c +++ b/gdb/remote-array.c @@ -363,7 +363,7 @@ expect (char *string, int discard) debuglogs (1, "Expecting \"%s\".", string); - immediate_quit = 1; + immediate_quit++; while (1) { c = readchar (timeout); @@ -373,7 +373,7 @@ expect (char *string, int discard) { if (*p == '\0') { - immediate_quit = 0; + immediate_quit--; debuglogs (4, "Matched"); return; } |