From bad560141551c83729cc97aa69aad8ef0ec02afb Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 8 Mar 2010 20:21:48 +0000 Subject: [PATCH] * breakpoint.c (breakpoint_1): Add "QUIT". --- gdb/ChangeLog | 4 ++++ gdb/breakpoint.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6d6691ac173..867167ebb6a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-03-08 Tom Tromey + + * breakpoint.c (breakpoint_1): Add "QUIT". + 2010-03-08 Daniel Jacobowitz Pedro Alves diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 03db2415e2c..4f7dfaf3b63 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -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); -- 2.30.2