gdb taking '-f' for running shell

Edward Peschko esp5@pge.com
Sat Feb 12 11:32:00 GMT 2005


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



More information about the Gdb mailing list