[patch] Do not allow unwinder to terminate inferior in an inferior function call if a C++ exception handler cannot be found.

Eli Zaretskii eliz@gnu.org
Mon Apr 27 18:29:00 GMT 2009


> Date: Mon, 27 Apr 2009 09:58:08 +0100
> From: Phil Muldoon <pmuldoon@redhat.com>
> CC: gdb-patches@sourceware.org
> 
> >> +The unwind on terminating exception flag lets the user determine\n\
> >> +what gdb should do if a std::terminate() call is made from the\n\
> >> +default exception handler.\n\
> >> +The default is to unwind the frame."),
> >>     
> > This doesn't tell what happens if it's set to OFF.
> 
> I actually thought about this, but the off behaviour is just how GDB  
> "used to be".

Well, the user who will read that doc string might not know how GDB
"used to be".

> Something like: "If the flag is set to be 'off',  GDB 
> will allow the inferior to be terminated by the default exception handler."?

Yes, that'd be good.  But the first part could be shorter:

   If OFF, GDB will allow ...

Thanks.



More information about the Gdb-patches mailing list