aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2021-10-06 12:28:08 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2021-10-06 14:36:23 +0100
commit24616c19955162a3daf1b7d0f66479815a1f1878 (patch)
tree045b416e9f751168b8d63e5c29003eeafff2e7d7
parentcf2ad3e66286c9f3dc8cb6cf74a2af761cb7a49f (diff)
downloadgdb-24616c19955162a3daf1b7d0f66479815a1f1878.zip
gdb-24616c19955162a3daf1b7d0f66479815a1f1878.tar.gz
gdb-24616c19955162a3daf1b7d0f66479815a1f1878.tar.bz2
gdb/doc: improve 'show print elements' description
The documentation for 'show print elements' contains the line: If the number is 0, then the printing is unlimited. However, this line is now out of date as can be seen by this GDB session: (gdb) set print elements 0 (gdb) show print elements Limit on string chars or array elements to print is unlimited. The value 0 does indeed mean unlimited, and this is described in the 'set print elements' section, however, for 'show print elements' the user will never see the value 0, so lets just remove that bit from the docs.
-rw-r--r--gdb/doc/gdb.texinfo1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index c156a1d..a6f207a 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -11376,7 +11376,6 @@ that the number of elements to print is unlimited.
@item show print elements
Display the number of elements of a large array that @value{GDBN} will print.
-If the number is 0, then the printing is unlimited.
@anchor{set print frame-arguments}
@item set print frame-arguments @var{value}