diff --git a/gdb/utils.c b/gdb/utils.c index 284fbbb..862a802 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -1868,7 +1868,7 @@ prompt_for_continue (void) while (*p == ' ' || *p == '\t') ++p; if (p[0] == 'q') - quit (); + throw_quit ("Quit"); xfree (ignore); } immediate_quit--;