[RFA/doco] Add missing parens around GDB prompt in example

Joel Brobecker brobecker@adacore.com
Sun Dec 14 14:29:00 GMT 2008


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
-------------- next part --------------
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


More information about the Gdb-patches mailing list