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 <tom@tromey.com> * python.texi (gdb.prompt): Use correct quotes in example. Shorten sample text. Change-Id: I4153928c0d88001244ad410f3943c952a6ebfeb1
This commit is contained in:
parent
4c12d93600
commit
77bb17b649
|
@ -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>
|
2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||||
|
|
||||||
* doc/gdb.texinfo (GDB/MI Symbol Query): Add documentation of
|
* doc/gdb.texinfo (GDB/MI Symbol Query): Add documentation of
|
||||||
|
|
|
@ -5937,13 +5937,12 @@ End a sequence of non-printing characters.
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
@smallexample
|
@smallexample
|
||||||
substitute_prompt (``frame: \f,
|
substitute_prompt ("frame: \f, args: \p@{print frame-arguments@}")
|
||||||
print arguments: \p@{print frame-arguments@}'')
|
|
||||||
@end smallexample
|
@end smallexample
|
||||||
|
|
||||||
@exdent will return the string:
|
@exdent will return the string:
|
||||||
|
|
||||||
@smallexample
|
@smallexample
|
||||||
"frame: main, print arguments: scalars"
|
"frame: main, args: scalars"
|
||||||
@end smallexample
|
@end smallexample
|
||||||
@end table
|
@end table
|
||||||
|
|
Loading…
Reference in New Issue