* [pushed] Fix typo in the "alias" example
@ 2022-03-01 23:53 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2022-03-01 23:53 UTC (permalink / raw)
To: gdb-patches; +Cc: Tom Tromey
PR cli/17332, filed around 8 years ago, points out a typo in the docs
-- in one example, the command and its output are obviously out of
sync. This patch fixes it. I'm checking this in as obvious.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=17332
---
gdb/doc/gdb.texinfo | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index f7f5f7a6158..a80b61e622d 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -28037,7 +28037,7 @@ of a command.
@smallexample
(gdb) alias -a set print elms = set print elements
(gdb) alias -a show print elms = show print elements
-(gdb) set p elms 20
+(gdb) set p elms 200
(gdb) show p elms
Limit on string chars or array elements to print is 200.
@end smallexample
--
2.34.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-01 23:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-01 23:53 [pushed] Fix typo in the "alias" example Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).