aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index 284fbbb..d29ba27 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -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--;