Make prompt_for_continue call throw_quit directly.
[deliverable/binutils-gdb.git] / gdb / utils.c
index 284fbbb834783191df980711c5f5ab81b2b91a24..d29ba2740cbc2b5b9d4c73baf1029a5679457a0a 100644 (file)
@@ -1868,7 +1868,8 @@ prompt_for_continue (void)
       while (*p == ' ' || *p == '\t')
        ++p;
       if (p[0] == 'q')
-       quit ();
+       /* Do not call quit here; there is no possibility of SIGINT.  */
+       throw_quit ("Quit");
       xfree (ignore);
     }
   immediate_quit--;
This page took 0.026024 seconds and 4 git commands to generate.