This is the mail archive of the
mailing list for the GDB project.
Re: error-catching mechanism for scripts
> Ok, I've got a partial implementation of the try/catch idea that I'd like
> to get some feedback on. (Let me know if I'm headed the right way before
> I spend too much time on this)
> I know that the keywords try/catch (esp catch) won't work, as gdb already
> has a catch command. I'd appreciate a suggestion on what to name this
> command. For now I've simple gone with CATCH (all caps) to avoid name
exception => action; ...
might give you ideas and potential semantic issues. eg
Another key word might be trap?