[RFA] error-catching mechanism for scripts

Eli Zaretskii eliz@is.elta.co.il
Wed Dec 19 10:10:00 GMT 2001


> Date: Tue, 18 Dec 2001 15:48:18 -0800 (PST)
> From: Don Howard <dhoward@redhat.com>
> 
> I've included a quick write-up for the gdb manual.

Thanks.  The manual changes are approved, with the following gotchas:

> +@kindex try
> +@kindex except
> +@item try

Please add "@itemx except" after "@item try", so that the reader would
see the command listed.

> +execution of the series, but not the entire script.  There can be and

The last words should be "an", not "and", I think.

> +optional @code{except} line, which must also be followed by a series of
> +commands, one per line.  Commands in the @code{except} block are
> +executed if an error is encountered in the corresponding @code{try}
> +block.

Please consider adding a simple example.  I think some users will have
a difficulty grasping this without an example.



More information about the Gdb-patches mailing list