This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] error-catching mechanism for scripts
- From: "Eli Zaretskii" <eliz at is dot elta dot co dot il>
- To: dhoward at redhat dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 19 Dec 2001 20:08:27 +0200
- Subject: Re: [RFA] error-catching mechanism for scripts
- References: <Pine.LNX.4.33.0112171700200.18540-100000@theotherone.redhat-remotie.org>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> 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.