aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2021-11-25 07:49:16 +0100
committerTom de Vries <tdevries@suse.de>2021-11-25 07:49:16 +0100
commit0a4a1c6a3b46731c228431d5bd29181e0d2107c2 (patch)
treedf3896e12864dee1bbc33eeb0d3de8579150c337
parent2b1538656bdf386a64d9e6a573690952e7239b2d (diff)
downloadgdb-0a4a1c6a3b46731c228431d5bd29181e0d2107c2.zip
gdb-0a4a1c6a3b46731c228431d5bd29181e0d2107c2.tar.gz
gdb-0a4a1c6a3b46731c228431d5bd29181e0d2107c2.tar.bz2
[gdb/cli] Fix typo in logging overwrite help text
Currently we have: ... $ gdb -q -batch -ex "help set logging overwrite" Set whether logging overwrites or appends to the log file. If set, logging overrides the log file. ... Fix overrides -> overwrites typo.
-rw-r--r--gdb/cli/cli-logging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cli/cli-logging.c b/gdb/cli/cli-logging.c
index f0ee091..8efefa0 100644
--- a/gdb/cli/cli-logging.c
+++ b/gdb/cli/cli-logging.c
@@ -178,7 +178,7 @@ _initialize_cli_logging ()
add_setshow_boolean_cmd ("overwrite", class_support, &logging_overwrite, _("\
Set whether logging overwrites or appends to the log file."), _("\
Show whether logging overwrites or appends to the log file."), _("\
-If set, logging overrides the log file."),
+If set, logging overwrites the log file."),
set_logging_overwrite,
show_logging_overwrite,
&set_logging_cmdlist, &show_logging_cmdlist);