This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 3/2] Do not bpstat_clear_actions on throw_exception - async fixes
On Fri, 26 Aug 2011 23:38:15 +0200, Pedro Alves wrote:
> Thanks.
Checked in.
Thanks,
Jan
http://sourceware.org/ml/gdb-cvs/2011-08/msg00121.html
--- src/gdb/ChangeLog 2011/08/26 21:45:21 1.13285
+++ src/gdb/ChangeLog 2011/08/26 21:47:21 1.13286
@@ -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.
--- src/gdb/inf-loop.c 2011/08/26 21:45:22 1.35
+++ src/gdb/inf-loop.c 2011/08/26 21:47:21 1.36
@@ -121,6 +121,7 @@
{
bpstat_do_actions ();
}
+ exception_print (gdb_stderr, e);
if (!was_sync
&& exec_done_display_p