diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-06-26 09:51:45 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-06-26 09:51:45 +0300 |
commit | edf92af0fbc064243069578353ff569462c3df5b (patch) | |
tree | 90cddce21f832cbcca7ed549564e03d5020c37e8 /gdb | |
parent | 85f7484a3a1921649029c4a4fcf3247c3f3bc13c (diff) | |
download | gdb-edf92af0fbc064243069578353ff569462c3df5b.zip gdb-edf92af0fbc064243069578353ff569462c3df5b.tar.gz gdb-edf92af0fbc064243069578353ff569462c3df5b.tar.bz2 |
Improve documentation of which shell is used by GDB's shell commands
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>.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 4b1a4c0..c591934 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -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 diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 7f8c77a..fbe9f85 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -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. |