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?


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


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