This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFA] error-catching mechanism for scripts


> 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.


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