gcc 3.1 and gdb 5.2?

Andreas Schwab schwab@suse.de
Fri Jun 14 01:38:00 GMT 2002


Doug Warmke <doug@ikos.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.

|> Moreover, if you get into gdb and LD_LIBRARY_PATH
|> (or any other env variable) is obviously set wrong,
|> and you do "show env LD_LIBRARY_PATH" inside gdb,
|> it will show you the environment of your original shell,
|> *not* gdb's actual environment.  Even nastier.

This *is* gdb's actual enviroment, it's the shell that mangles it.

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."



More information about the Gcc mailing list