From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25279 invoked by alias); 7 Nov 2013 16:11:19 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 25269 invoked by uid 89); 7 Nov 2013 16:11:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=AWL,BAYES_40,RDNS_NONE,SPAM_SUBJECT,SPF_SOFTFAIL,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: mtaout20.012.net.il Received: from Unknown (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 07 Nov 2013 16:11:16 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MVW00C00HPWXK00@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Thu, 07 Nov 2013 18:10:49 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MVW00CCQI9YAXJ0@a-mtaout20.012.net.il>; Thu, 07 Nov 2013 18:10:46 +0200 (IST) Date: Thu, 07 Nov 2013 16:11:00 -0000 From: Eli Zaretskii Subject: Re: [RFC/Ada 1/2] Add command to list Ada exceptions In-reply-to: <1383836650-6104-2-git-send-email-brobecker@adacore.com> To: Joel Brobecker Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83ppqc5h1l.fsf@gnu.org> References: <1383836650-6104-1-git-send-email-brobecker@adacore.com> <1383836650-6104-2-git-send-email-brobecker@adacore.com> X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00189.txt.bz2 > From: Joel Brobecker > Date: Thu, 7 Nov 2013 19:04:09 +0400 > > This patch adds a new command "info exceptions" whose purpose is to > provide the list of exceptions currently defined in the inferior. > The usage is: > > (gdb) info exceptions [REGEXP] > > Without argument, the command lists all exceptions. Otherwise, > only those whose name match REGEXP are listed. Hmm? A new command without documentation? Did I miss something? > + add_info ("exceptions", info_exceptions_command, > + _("\ > +List all Ada exception names. If a regexp is passed as an argument,\n\ You cannot have a period in the first line of a doc string, except at the end of the line, because commands like 'apropos' stop at the first period. Thanks.