Emit 8 NULs for target section name instead of dumping core when the target
[deliverable/binutils-gdb.git] / gdb / remote-eb.c
index c5c33a7c4e869a4d6f98e07cf975fcf388e6e15e..302e87ef6776753d324b7c46efccb7bcdca689ed 100644 (file)
@@ -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;
            }
        }
This page took 0.023318 seconds and 4 git commands to generate.