Re: [PATCH] Make sure GDB uses a valid shell when starting the inferior and to perform the "shell" command

Andreas Schwab
2015-07-24T20:18:17Z

Eli Zaretskii <eliz@gnu.org> writes:

> Since the number of valid shells is much smaller than the number of
> non-shell programs, isn't it better to have a database of known shells
> than to have a database of non-shells people could be expected to set
> SHELL to?

This database will be of infinite size. Why should it be invalid to set
SHELL=/foo/bar if that's my self-compiled super-duper shell?

Andreas.

--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."