From: Tom Tromey Date: Wed, 20 Nov 2019 23:07:46 +0000 (-0700) Subject: Minor fix to gdb.prompt documentation X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=77bb17b64958ca8ec088e73752a517c88af7cb20;p=deliverable%2Fbinutils-gdb.git Minor fix to gdb.prompt documentation 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 * python.texi (gdb.prompt): Use correct quotes in example. Shorten sample text. Change-Id: I4153928c0d88001244ad410f3943c952a6ebfeb1 --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 9a70de350c..57ad682c72 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2019-12-10 Tom Tromey + + * python.texi (gdb.prompt): Use correct quotes in example. + Shorten sample text. + 2019-12-04 Andrew Burgess * doc/gdb.texinfo (GDB/MI Symbol Query): Add documentation of diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index ed73bbf373..f807fb248a 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -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