mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
Make prompt_for_continue call throw_quit directly.
2015-12-18 Sandra Loosemore <sandra@codesourcery.com> gdb/ * utils.c (prompt_for_continue): Call throw_quit directly on 'q'.
This commit is contained in:
@@ -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--;
|
||||
|
||||
Reference in New Issue
Block a user