RFC: finish_command_continuation and errors

Joel Brobecker brobecker@adacore.com
Thu Mar 18 18:08:00 GMT 2010


> It seems to me that, abstractly, observers should not be allowed to
> throw exceptions.  Perhaps the observer machinery itself ought to catch
> them.  My reasoning is that letting an observer throw an exception will
> make the observer mechanism apparently unreliable: a given observer
> might or might not be called, depending on whether some earlier observer
> encountered an error.

I think this makes sense.

-- 
Joel



More information about the Gdb-patches mailing list