Index: event-top.c =================================================================== RCS file: /nile.c/cvs/Dev/gdb/gdb-5.3/gdb/event-top.c,v retrieving revision 1.1 diff -u -p -r1.1 event-top.c --- event-top.c 16 Jan 2003 09:46:22 -0000 1.1 +++ event-top.c 12 Aug 2003 21:27:57 -0000 @@ -967,9 +967,14 @@ handle_sigint (int sig) if (immediate_quit) async_request_quit (0); else - /* If immediate quit is not set, we process SIGINT the next time - through the loop, which is fine. */ - mark_async_signal_handler_wrapper (sigint_token); + { + /* If immediate quit is not set, we process SIGINT the next time + through the loop, which is fine. */ + mark_async_signal_handler_wrapper (sigint_token); + /* We can also process the signal at certain specific locations + which are explicitely marked by a call to QUIT. */ + quit_flag = 1; + } } /* Do the quit. All the checks have been done by the caller. */