From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Subject: [RFA/doco] Add missing parens around GDB prompt in example
Date: Sun, 14 Dec 2008 14:29:00 -0000 [thread overview]
Message-ID: <20081214142855.GG6866@adacore.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 523 bytes --]
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 <JMPBUF_SAVE>[0]
It should be
> (gdb) print <JMPBUF_SAVE>[0]
Fixed thusly.
2008-12-14 Joel Brobecker <brobecker@adacore.com>
* 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
[-- Attachment #2: gdb-doc.diff --]
[-- Type: text/plain, Size: 423 bytes --]
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 <JMPBUF_SAVE>[0]
+(@value{GDBP}) print <JMPBUF_SAVE>[0]
@end smallexample
@item
next reply other threads:[~2008-12-14 14:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-14 14:29 Joel Brobecker [this message]
2008-12-14 15:40 ` Andreas Schwab
2008-12-14 18:02 ` Joel Brobecker
2008-12-14 20:14 ` Eli Zaretskii
2008-12-15 7:37 ` Joel Brobecker
2008-12-15 20:47 ` Eli Zaretskii
2008-12-16 6:17 ` Joel Brobecker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081214142855.GG6866@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox