From a4f2ce052b4e6db6469ff3a0fb3bbee55c24662d Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Fri, 26 Aug 2011 21:47:21 +0000 Subject: [PATCH] gdb/ * inf-loop.c (inferior_event_handler): Add exception_print in INF_EXEC_COMPLETE. --- gdb/ChangeLog | 5 +++++ gdb/inf-loop.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index df070d7..e2bd6f6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2011-08-26 Jan Kratochvil + * inf-loop.c (inferior_event_handler): Add exception_print in + INF_EXEC_COMPLETE. + +2011-08-26 Jan Kratochvil + * breakpoint.c (bpstat_do_actions): New variable cleanup_if_error, call make_bpstat_clear_actions_cleanup and discard_cleanups for it. * defs.h (make_bpstat_clear_actions_cleanup): New declaration. diff --git a/gdb/inf-loop.c b/gdb/inf-loop.c index 3cc2fba..670b966 100644 --- a/gdb/inf-loop.c +++ b/gdb/inf-loop.c @@ -121,6 +121,7 @@ inferior_event_handler (enum inferior_event_type event_type, { bpstat_do_actions (); } + exception_print (gdb_stderr, e); if (!was_sync && exec_done_display_p -- 2.7.4