aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Palka <patrick@parcs.ath.cx>2015-06-17 14:44:38 -0400
committerPatrick Palka <patrick@parcs.ath.cx>2015-06-17 14:52:09 -0400
commit0eacb2983d96fd7f12a1400a66450c1a89578f00 (patch)
tree6e385dbe56508e0d3eef5bfe67b2b39eadfa4d7f
parentbc460514b9db46a491c2c39cd118b02608742968 (diff)
downloadgdb-0eacb2983d96fd7f12a1400a66450c1a89578f00.zip
gdb-0eacb2983d96fd7f12a1400a66450c1a89578f00.tar.gz
gdb-0eacb2983d96fd7f12a1400a66450c1a89578f00.tar.bz2
Make NEWS entry and manual regarding GDBHISTSIZE more consistent
... by mentioning in the manual that setting GDBHISTSIZE to the empty string disables truncation, like the NEWS entry does. gdb/doc/ChangeLog: * gdb.texinfo (Command History): Mention that setting GDBHISTSIZE to the empty string disables history truncation.
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo6
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index d38550a..7d8002e 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,5 +1,10 @@
2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
+ * gdb.texinfo (Command History): Mention that setting
+ GDBHISTSIZE to the empty string disables history truncation.
+
+2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
+
PR gdb/16999
* gdb.texinfo (Command History): Mention new GDBHISTSIZE
behavior.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 9889b69..c9a532a 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -22641,9 +22641,9 @@ Stop recording command history in a file.
Set the number of commands which @value{GDBN} keeps in its history list.
This defaults to the value of the environment variable @env{GDBHISTSIZE}, or
to 256 if this variable is not set. Non-numeric values of @env{GDBHISTSIZE}
-are ignored. If @var{size} is @code{unlimited} or if @env{GDBHISTSIZE} is a
-negative number, the number of commands @value{GDBN} keeps in the history list
-is unlimited.
+are ignored. If @var{size} is @code{unlimited} or if @env{GDBHISTSIZE} is
+either a negative number or the empty string, then the number of commands
+@value{GDBN} keeps in the history list is unlimited.
@end table
History expansion assigns special meaning to the character @kbd{!}.