aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-eb.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-eb.c')
-rw-r--r--gdb/remote-eb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-eb.c b/gdb/remote-eb.c
index c5c33a7..302e87e 100644
--- a/gdb/remote-eb.c
+++ b/gdb/remote-eb.c
@@ -100,7 +100,7 @@ expect (char *string)
{
char *p = string;
- immediate_quit = 1;
+ immediate_quit++;
while (1)
{
if (readchar () == *p)
@@ -108,7 +108,7 @@ expect (char *string)
p++;
if (*p == '\0')
{
- immediate_quit = 0;
+ immediate_quit--;
return;
}
}