Patchwork [commit/obvious] Fix typo on documentation ("show set startup-with-shell")

login
register
mail settings
Submitter Sergio Durigan Junior
Date Aug. 12, 2017, 4:49 p.m.
Message ID <20170812164943.16369-1-sergiodj@redhat.com>
Download mbox | patch
Permalink /patch/22117/
State New
Headers show

Comments

Sergio Durigan Junior - Aug. 12, 2017, 4:49 p.m.
The documentation was erroneously saying that there is a command named
"show set startup-with-shell", while the correct version is "show
startup-with-shell".  This commit fixes obvious mistake.

gdb/doc/ChangeLog:
2017-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>

	PR gdb/21925
	* gdb.texinfo (Starting) <startup-with-shell>: Fix typo ("show
	set...").
---
 gdb/doc/ChangeLog   | 6 ++++++
 gdb/doc/gdb.texinfo | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

Patch

diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index eb6a73fc01..4b406985ab 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,9 @@ 
+2017-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+	PR gdb/21925
+	* gdb.texinfo (Starting) <startup-with-shell>: Fix typo ("show
+	set...").
+
 2017-08-09  Simon Marchi  <simon.marchi@ericsson.com>
 
 	* gdb.texinfo (Packets): Fix Z0 cmd_list doc referring to
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index d098eba1e8..7528183506 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -2157,7 +2157,7 @@  This command is available when debugging locally on most targets, excluding
 @item set startup-with-shell
 @itemx set startup-with-shell on
 @itemx set startup-with-shell off
-@itemx show set startup-with-shell
+@itemx show startup-with-shell
 On Unix systems, by default, if a shell is available on your target,
 @value{GDBN}) uses it to start your program.  Arguments of the
 @code{run} command are passed to the shell, which does variable