Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA/doco] Add missing parens around GDB prompt in example
@ 2008-12-14 14:29 Joel Brobecker
  2008-12-14 15:40 ` Andreas Schwab
  0 siblings, 1 reply; 7+ messages in thread
From: Joel Brobecker @ 2008-12-14 14:29 UTC (permalink / raw)
  To: gdb-patches

[-- 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-12-16  6:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-14 14:29 [RFA/doco] Add missing parens around GDB prompt in example Joel Brobecker
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox