From cf6c5ffb4c56af6137a19a494b1a4f0cfb9b4258 Mon Sep 17 00:00:00 2001 From: Tom Tromey <tromey@redhat.com> Date: Thu, 19 May 2011 18:31:24 +0000 Subject: [PATCH] 2011-05-19 Matt Rice <ratmice@gmail.com> * breakpoint.c (bpstat_do_actions_1): Call prevent_dont_repeat. --- gdb/ChangeLog | 4 ++++ gdb/breakpoint.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3ba989a482..d822f3b173 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-05-19 Matt Rice <ratmice@gmail.com> + + * breakpoint.c (bpstat_do_actions_1): Call prevent_dont_repeat. + 2011-05-19 Hui Zhu <teawater@gmail.com> * tracepoint.c (tfile_trace_find): Return directly when num is -1. diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 9ce3806baa..70931045b3 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -3220,6 +3220,8 @@ bpstat_do_actions_1 (bpstat *bsp) executing_breakpoint_commands = 1; old_chain = make_cleanup (cleanup_executing_breakpoints, 0); + prevent_dont_repeat (); + /* This pointer will iterate over the list of bpstat's. */ bs = *bsp;