This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: Sergio Durigan Junior <sergiodj@redhat.com>,  simon.marchi@ericsson.com,  gdb-patches@sourceware.org
> Date: Fri, 24 Jul 2015 22:18:08 +0200
> 
> 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?

The same goes for non-shells as well.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]