This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
gdb taking '-f' for running shell
- From: Edward Peschko <esp5 at pge dot com>
- To: gdb at sources dot redhat dot com
- Date: Fri, 11 Feb 2005 22:44:58 -0800
- Subject: gdb taking '-f' for running shell
I just noticed also that gdb uses SHELL to run its processes -
which is somewhat anti-social because running SHELL by default
runs .tcshrc, .bashrc, or .cshrc.
Now, IMO this would be OK if there is a workaround - but it doesn't
seem to like it when I set SHELL to be 'tcsh -f'.
Why can't you run gdb without going through SHELL? Do I really need
to rearrange my entire environment (moving environmental variables
to .login, etc) in order to use it? Or is there a workaround I'm
unaware of?
Ed