aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-03-08 20:21:48 +0000
committerTom Tromey <tromey@redhat.com>2010-03-08 20:21:48 +0000
commitbad560141551c83729cc97aa69aad8ef0ec02afb (patch)
tree31ca8c28c4347e85badfc59d65bcc8ec7428cff9 /gdb/breakpoint.c
parent081058572de4f2c063bfbe76017134a9d8fd9907 (diff)
downloadgdb-bad560141551c83729cc97aa69aad8ef0ec02afb.zip
gdb-bad560141551c83729cc97aa69aad8ef0ec02afb.tar.gz
gdb-bad560141551c83729cc97aa69aad8ef0ec02afb.tar.bz2
* breakpoint.c (breakpoint_1): Add "QUIT".
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 03db241..4f7dfaf 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);