* 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 7ca0070f06c8cd8b289b7b54824e4167832182c4..00411df18cfa9a38126fa96752c4495529a83c55 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 f5927f2d9668a48c53b7251a2f62371b36a03e3f..b3890b842693fb86730eb828d3eda570df94aa71 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;
 }