[Fwd: Re: [patch] try 2 - Do not allow unwinder to terminate inferior in an inferior function call if a C++ exception handler cannot be found.]
Phil Muldoon
pmuldoon@redhat.com
Thu Jun 11 23:44:00 GMT 2009
Apologies for the bounce back on mixed content. New OS/mailer hopefully
correctly configured, now ;)
-------- Original Message --------
Subject: Re: [patch] try 2 - Do not allow unwinder to terminate
inferior in an inferior function call if a C++ exception handler cannot
be found.
Date: Fri, 12 Jun 2009 00:32:12 +0100
From: Phil Muldoon <pmuldoon@redhat.com>
To: Joel Brobecker <brobecker@adacore.com>
CC: gdb-patches ml <gdb-patches@sourceware.org>, Eli Zaretskii
<eliz@gnu.org>
On 06/11/2009 06:14 PM, Joel Brobecker wrote:
>> 2009-06-09 Phil Muldoon<pmuldoon@redhat.com>
>>
>> * infcall.c (show_unwind_on_terminating_exception_p): New
>> function.
>> (call_function_by_hand): Create breakpoint and clean-up call for
>> std::terminate.breakpoint. Add unwind_on_terminating_exception_p
>> gate. Pop frame on breakpoint hit.
>> (_initialize_infcall): Add add_setshow_boolean_cmd for
>> unwind-on-terminating-exception.
>>
>> gdb/testsuite/ChangeLog
>>
>> 2009-06-09 Phil Muldoon<pmuldoon@redhat.com>
>>
>> * gdb.cp/gdb2495.cc: New file.
>> * gdb.cp/gdb2495.exp: New file.
>>
>
> These two parts look OK to me. Just a couple of formatting nits to be
> fixed before you commit.
>
> Thanks!
>
Thanks, I've fixed the nits. Once Eli has approved the documentation
updates, I'll commit.
Thanks for taking the time to review the patch!
Regards
Phil
More information about the Gdb-patches
mailing list