From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2719 invoked by alias); 19 Dec 2001 18:10:37 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 2650 invoked from network); 19 Dec 2001 18:10:31 -0000 Received: from unknown (HELO freya.inter.net.il) (192.114.186.14) by sources.redhat.com with SMTP; 19 Dec 2001 18:10:31 -0000 Received: from zaretsky ([192.116.55.139]) by freya.inter.net.il (Mirapoint) with ESMTP id BCJ74440; Wed, 19 Dec 2001 20:10:16 +0200 (IST) Date: Wed, 19 Dec 2001 10:10:00 -0000 From: "Eli Zaretskii" To: dhoward@redhat.com Message-Id: <3995-Wed19Dec2001200826+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: gdb-patches@sources.redhat.com In-reply-to: (message from Don Howard on Tue, 18 Dec 2001 15:48:18 -0800 (PST)) Subject: Re: [RFA] error-catching mechanism for scripts Reply-to: Eli Zaretskii References: X-SW-Source: 2001-12/txt/msg00469.txt.bz2 > Date: Tue, 18 Dec 2001 15:48:18 -0800 (PST) > From: Don Howard > > 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.