aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/top.c b/gdb/top.c
index 52d1a0ef5..593da2d 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -534,8 +534,10 @@ command_loop (void)
}
execute_command (command, instream == stdin);
- /* Do any commands attached to breakpoint we stopped at. */
- bpstat_do_actions (&stop_bpstat);
+
+ /* Do any commands attached to breakpoint we are stopped at. */
+ bpstat_do_actions ();
+
do_cleanups (old_chain);
if (display_time)