aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-08-26 21:47:21 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-08-26 21:47:21 +0000
commita4f2ce052b4e6db6469ff3a0fb3bbee55c24662d (patch)
tree7f0f27b177a4659b6d751bcc2124c0542bcd0409 /gdb
parent353d1d731afffb8550c9451e783b02be4121f461 (diff)
downloadgdb-a4f2ce052b4e6db6469ff3a0fb3bbee55c24662d.zip
gdb-a4f2ce052b4e6db6469ff3a0fb3bbee55c24662d.tar.gz
gdb-a4f2ce052b4e6db6469ff3a0fb3bbee55c24662d.tar.bz2
gdb/
* inf-loop.c (inferior_event_handler): Add exception_print in INF_EXEC_COMPLETE.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/inf-loop.c1
2 files changed, 6 insertions, 0 deletions
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 <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.
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