This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] [OBV] Make NEWS entry and manual regarding GDBHISTSIZE more consistent
- From: Patrick Palka <patrick at parcs dot ath dot cx>
- To: gdb-patches at sourceware dot org
- Cc: Patrick Palka <patrick at parcs dot ath dot cx>
- Date: Wed, 17 Jun 2015 14:54:46 -0400
- Subject: [PATCH] [OBV] Make NEWS entry and manual regarding GDBHISTSIZE more consistent
- Authentication-results: sourceware.org; auth=none
... by mentioning in the manual that setting GDBHISTSIZE to the empty
string disables truncation, like the NEWS entry does.
Committed as obvious.
gdb/doc/ChangeLog:
* gdb.texinfo (Command History): Mention that setting
GDBHISTSIZE to the empty string disables history truncation.
---
gdb/doc/gdb.texinfo | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
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{!}.
--
2.4.4.410.g43ed522.dirty