This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: gcc 3.1 and gdb 5.2?


Joe Buck <Joe.Buck@synopsys.com> writes:

|> > |> Is there any way to configure gdb *not* to load your
|> > |> .cshrc upon invocation?  That is nasty behavior.
|> > 
|> > It's not gdb that loads .cshrc, but csh does it.
|> 
|> The user does not expect gdb to invoke a shell.

Well, he could just read the fine manual. :-)

|> The user is in csh
|> and has already changed environment variables and is not expecting
|> gdb to start up a new shell and wipe out the changes.

Then he should fix his shell startup scripts.  Setting environment
variables in .cshrc is not TRT.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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