From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11442 invoked by alias); 14 Dec 2008 14:29:44 -0000 Received: (qmail 11434 invoked by uid 22791); 14 Dec 2008 14:29:43 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 14 Dec 2008 14:29:08 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 4294E2A9684 for ; Sun, 14 Dec 2008 09:29:06 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BQvr8Ai8qE-E for ; Sun, 14 Dec 2008 09:29:06 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 1C5C52A967D for ; Sun, 14 Dec 2008 09:29:05 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 2C8B1E7ACD; Sun, 14 Dec 2008 15:28:55 +0100 (CET) Date: Sun, 14 Dec 2008 14:29:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: [RFA/doco] Add missing parens around GDB prompt in example Message-ID: <20081214142855.GG6866@adacore.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="sm4nu43k4a2Rpi4c" Content-Disposition: inline User-Agent: Mutt/1.4.2.2i 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 X-SW-Source: 2008-12/txt/msg00255.txt.bz2 --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 523 Hello, I noticed that one of the examples looked strange because the gdb prompt was missing the opening and closing parenthesis. In section "Additions to Ada", we have: > [...] For example, > > gdb print [0] It should be > (gdb) print [0] Fixed thusly. 2008-12-14 Joel Brobecker * gdb.texinfo (Additions to Ada): Add the missing opening and closing parenthesis for the gdb prompt in one of the examples. OK to check in? Thanks, -- Joel --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="gdb-doc.diff" Content-length: 423 diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index a6fabe3..5901931 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -11517,7 +11517,7 @@ For the rare occasions when you actually have to look at them, enclose them in angle brackets to avoid the lower-case mapping. For example, @smallexample -@value{GDBP} print [0] +(@value{GDBP}) print [0] @end smallexample @item --sm4nu43k4a2Rpi4c--