* remote-sim.c (gdb_os_poll_quit): Don't check immediate_quit.
authorTom Tromey <tromey@redhat.com>
Mon, 30 Jul 2012 17:16:10 +0000 (17:16 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 30 Jul 2012 17:16:10 +0000 (17:16 +0000)
gdb/ChangeLog
gdb/remote-sim.c

index 7ca0070..00411df 100644 (file)
@@ -1,3 +1,7 @@
+2012-07-30  Tom Tromey  <tromey@redhat.com>
+
+       * remote-sim.c (gdb_os_poll_quit): Don't check immediate_quit.
+
 2012-07-30  Ulrich Weigand  <ulrich.weigand@linaro.org>
 
        * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Do not
index f5927f2..b3890b8 100644 (file)
@@ -955,10 +955,6 @@ gdb_os_poll_quit (host_callback *p)
       quit_flag = 0;           /* we've stolen it */
       return 1;
     }
-  else if (immediate_quit)
-    {
-      return 1;
-    }
   return 0;
 }