Minor fix to gdb.prompt documentation
authorTom Tromey <tom@tromey.com>
Wed, 20 Nov 2019 23:07:46 +0000 (16:07 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 10 Dec 2019 22:56:42 +0000 (15:56 -0700)
I noticed that an example in the gdb.prompt documentation used the
wrong kind of quotes -- because it is code, it should use a plain
ASCII quotation mark.  I also slightly shortened the sample text here,
so it would more clearly fit on a single line.

gdb/doc/ChangeLog
2019-12-10  Tom Tromey  <tom@tromey.com>

* python.texi (gdb.prompt): Use correct quotes in example.
Shorten sample text.

Change-Id: I4153928c0d88001244ad410f3943c952a6ebfeb1

gdb/doc/ChangeLog
gdb/doc/python.texi

index 9a70de350c6127fc6db997779a8b60a45582bddb..57ad682c72611af3aa6f7b61bb4e339eef2af431 100644 (file)
@@ -1,3 +1,8 @@
+2019-12-10  Tom Tromey  <tom@tromey.com>
+
+       * python.texi (gdb.prompt): Use correct quotes in example.
+       Shorten sample text.
+
 2019-12-04  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * doc/gdb.texinfo (GDB/MI Symbol Query): Add documentation of
index ed73bbf37364646f4b8da8253195eb3aac98a87e..f807fb248aee81b4b7935782142233b131a99e0a 100644 (file)
@@ -5937,13 +5937,12 @@ End a sequence of non-printing characters.
 For example:
 
 @smallexample
-substitute_prompt (``frame: \f,
-                   print arguments: \p@{print frame-arguments@}'')
+substitute_prompt ("frame: \f, args: \p@{print frame-arguments@}")
 @end smallexample
 
 @exdent will return the string:
 
 @smallexample
-"frame: main, print arguments: scalars"
+"frame: main, args: scalars"
 @end smallexample
 @end table
This page took 0.03036 seconds and 4 git commands to generate.