{ if (!event_loop_p) request_quit (SIGINT); else async_request_quit (0); }
async_request_quit (0);
prompt_for_continue (void){  char *ignore;  char cont_prompt[120];  if (annotation_level > 1)    printf_unfiltered ("\n\032\032pre-prompt-for-continue\n");  strcpy (cont_prompt,	  "---Type <return> to continue, or q <return> to quit---");  if (annotation_level > 1)    strcat (cont_prompt, "\n\032\032prompt-for-continue\n");  /* We must do this *before* we call gdb_readline, else it will eventually     call us -- thinking that we're trying to print beyond the end of the      screen.  */  reinitialize_more_filter ();  immediate_quit++;  /* On a real operating system, the user can quit with SIGINT.     But not on GO32.     'q' is provided on all systems so users don't have to change habits     from system to system, and because telling them what to do in     the prompt is more user-friendly than expecting them to think of     SIGINT.  */  /* Call readline, not gdb_readline, because GO32 readline handles control-C     whereas control-C to gdb_readline will cause the user to get dumped     out to DOS.  */  ignore = gdb_readline_wrapper (cont_prompt);  if (annotation_level > 1)    printf_unfiltered ("\n\032\032post-prompt-for-continue\n");  if (ignore)    {      char *p = ignore;      while (*p == ' ' || *p == '\t')	++p;      if (p[0] == 'q')	{	  if (!event_loop_p)	    request_quit (SIGINT);	  else	    async_request_quit (0);	}      xfree (ignore);    }  immediate_quit--;  /* Now we have to do this again, so that GDB will know that it doesn't     need to save the ---Type <return>--- line at the top of the screen.  */  reinitialize_more_filter ();  dont_repeat ();		/* Forget prev cmd -- CR won't repeat it. */}