diff options
Diffstat (limited to 'gdb/exceptions.c')
-rw-r--r-- | gdb/exceptions.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/exceptions.c b/gdb/exceptions.c index ec9b9be..bf042ad 100644 --- a/gdb/exceptions.c +++ b/gdb/exceptions.c @@ -226,7 +226,10 @@ throw_exception (struct gdb_exception exception) /* Perhaps it would be cleaner to do this via the cleanup chain (not sure I can think of a reason why that is vital, though). */ if (tp != NULL) - bpstat_clear_actions (tp->stop_bpstat); /* Clear queued breakpoint commands */ + { + /* Clear queued breakpoint commands */ + bpstat_clear_actions (tp->control.stop_bpstat); + } disable_current_display (); do_cleanups (ALL_CLEANUPS); |