This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: finish_command_continuation and errors


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]