aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-05-19 18:31:24 +0000
committerTom Tromey <tromey@redhat.com>2011-05-19 18:31:24 +0000
commitcf6c5ffb4c56af6137a19a494b1a4f0cfb9b4258 (patch)
treeca417be757410a71a1fbe9f11578a6800c7b0ab0
parentfb80a3c562f75676ff2eadcaedd77f09960bd674 (diff)
downloadgdb-cf6c5ffb4c56af6137a19a494b1a4f0cfb9b4258.zip
gdb-cf6c5ffb4c56af6137a19a494b1a4f0cfb9b4258.tar.gz
gdb-cf6c5ffb4c56af6137a19a494b1a4f0cfb9b4258.tar.bz2
2011-05-19 Matt Rice <ratmice@gmail.com>
* breakpoint.c (bpstat_do_actions_1): Call prevent_dont_repeat.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/breakpoint.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3ba989a..d822f3b 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 9ce3806..7093104 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;