aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-03-01 16:50:39 -0700
committerTom Tromey <tom@tromey.com>2022-03-01 16:50:39 -0700
commit17dccf103190198e985169b4f4e0e210e6b3a5aa (patch)
treecd64f076782c69c389f9013efc0621966572d481 /gdb/doc
parentba0eb22c8beb1166780d7c7e11ef4e623b8017e9 (diff)
downloadfsf-binutils-gdb-17dccf103190198e985169b4f4e0e210e6b3a5aa.zip
fsf-binutils-gdb-17dccf103190198e985169b4f4e0e210e6b3a5aa.tar.gz
fsf-binutils-gdb-17dccf103190198e985169b4f4e0e210e6b3a5aa.tar.bz2
Fix typo in the "alias" example
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
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/gdb.texinfo2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index f7f5f7a..a80b61e 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