* breakpoint.c (breakpoint_1): Add "QUIT".
authorTom Tromey <tromey@redhat.com>
Mon, 8 Mar 2010 20:21:48 +0000 (20:21 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 8 Mar 2010 20:21:48 +0000 (20:21 +0000)
gdb/ChangeLog
gdb/breakpoint.c

index 6d6691ac173a3d0f156a48e0b245b734e7e5d5c1..867167ebb6a429ec861118a0e22db18a4076fd23 100644 (file)
@@ -1,3 +1,7 @@
+2010-03-08  Tom Tromey  <tromey@redhat.com>
+
+       * breakpoint.c (breakpoint_1): Add "QUIT".
+
 2010-03-08  Daniel Jacobowitz  <dan@codesourcery.com>
            Pedro Alves  <pedro@codesourcery.com>
 
index 03db2415e2cc02aa68f74366f6301ad3062fffc7..4f7dfaf3b63f98ec59f8dff567e0c39834667ccf 100644 (file)
@@ -4670,6 +4670,8 @@ breakpoint_1 (int bnum, int allflag)
     annotate_breakpoints_table ();
 
   ALL_BREAKPOINTS (b)
+  {
+    QUIT;
     if (bnum == -1
        || bnum == b->number)
       {
@@ -4678,6 +4680,7 @@ breakpoint_1 (int bnum, int allflag)
        if (allflag || user_settable_breakpoint (b))
          print_one_breakpoint (b, &last_loc, print_address_bits, allflag);
       }
+  }
   
   do_cleanups (bkpttbl_chain);