gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 26 Aug 2011 21:47:21 +0000 (21:47 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 26 Aug 2011 21:47:21 +0000 (21:47 +0000)
* inf-loop.c (inferior_event_handler): Add exception_print in
INF_EXEC_COMPLETE.

gdb/ChangeLog
gdb/inf-loop.c

index df070d7..e2bd6f6 100644 (file)
@@ -1,5 +1,10 @@
 2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
+       * inf-loop.c (inferior_event_handler): Add exception_print in
+       INF_EXEC_COMPLETE.
+
+2011-08-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
        * 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.
index 3cc2fba..670b966 100644 (file)
@@ -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