* defs.h (quit_flag): Don't declare.
[deliverable/binutils-gdb.git] / gdb / remote-sim.c
index b3890b842693fb86730eb828d3eda570df94aa71..87910d9cb51615043c3aeb0bc6e86714b53c84d6 100644 (file)
@@ -950,9 +950,9 @@ gdb_os_poll_quit (host_callback *p)
   if (deprecated_ui_loop_hook != NULL)
     deprecated_ui_loop_hook (0);
 
-  if (quit_flag)               /* gdb's idea of quit */
+  if (check_quit_flag ())      /* gdb's idea of quit */
     {
-      quit_flag = 0;           /* we've stolen it */
+      clear_quit_flag ();      /* we've stolen it */
       return 1;
     }
   return 0;
This page took 0.023726 seconds and 4 git commands to generate.