This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.1 and gdb 5.2?
- From: Andreas Schwab <schwab at suse dot de>
- To: Doug Warmke <doug at ikos dot com>
- Cc: Joe Buck <Joe dot Buck at synopsys dot com>, dylan at q-games dot com, gcc at gnu dot org,robt at flyingpig dot com, arnabs at ikos dot com, johnny at ikos dot com, vasu at ikos dot com,tich at ikos dot com, Vipul Kulshrestha <vipulk at ikos dot com>,Kingshuk Banerjee <kingshuk at ikos dot com>
- Date: Fri, 14 Jun 2002 10:32:00 +0200
- Subject: Re: gcc 3.1 and gdb 5.2?
- References: <200206132131.OAA18554@atrus.synopsys.com><3D091DE7.C5830395@ikos.com>
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."