Improve documentation of which shell is used by GDB's shell commands
authorEli Zaretskii <eliz@gnu.org>
Fri, 26 Jun 2020 06:51:45 +0000 (09:51 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 26 Jun 2020 06:51:45 +0000 (09:51 +0300)
gdb/doc/ChangeLog:

2020-06-26  Eli Zaretskii  <eliz@gnu.org>

* gdb.texinfo (Shell Commands): More accurate description of use
of $SHELL.  Reported by Sandra Loosemore <sandra@codesourcery.com>.

gdb/doc/ChangeLog
gdb/doc/gdb.texinfo

index 4b1a4c01f9f1599db3629714ef2f082574d44a38..c59193450825e5ca2df223783fdb879128c78a94 100644 (file)
@@ -1,3 +1,8 @@
+2020-06-26  Eli Zaretskii  <eliz@gnu.org>
+
+       * gdb.texinfo (Shell Commands): More accurate description of use
+       of $SHELL.  Reported by Sandra Loosemore <sandra@codesourcery.com>.
+
 2020-06-23  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * gdb.texinfo (Maintenance Commands): Document new 'maint print
index 7f8c77a77f22ea6cce6f4eadae0eeb15edd0128f..fbe9f850af4a1195e1258575e099697ff185f8c1 100644 (file)
@@ -1451,9 +1451,10 @@ just use the @code{shell} command.
 @itemx !@var{command-string}
 Invoke a standard shell to execute @var{command-string}.
 Note that no space is needed between @code{!} and @var{command-string}.
-If it exists, the environment variable @code{SHELL} determines which
-shell to run.  Otherwise @value{GDBN} uses the default shell
-(@file{/bin/sh} on Unix systems, @file{COMMAND.COM} on MS-DOS, etc.).
+On GNU and Unix systems, the environment variable @code{SHELL}, if it
+exists, determines which shell to run.  Otherwise @value{GDBN} uses
+the default shell (@file{/bin/sh} on GNU and Unix systems,
+@file{cmd.exe} on MS-Windows, @file{COMMAND.COM} on MS-DOS, etc.).
 @end table
 
 The utility @code{make} is often needed in development environments.
This page took 0.051642 seconds and 4 git commands to generate.