This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Weird x86 Linux/GNU crashes
- From: Andreas Schwab <schwab at suse dot de>
- To: Joe Buck <Joe dot Buck at synopsys dot com>
- Cc: davem at redhat dot com (David S. Miller), mark at codesourcery dot com,hjl at lucon dot org, gcc at gcc dot gnu dot org
- Date: Wed, 31 Jul 2002 19:44:54 +0200
- Subject: Re: Weird x86 Linux/GNU crashes
- References: <200207311633.JAA24705@atrus.synopsys.com>
Joe Buck <Joe.Buck@synopsys.com> writes:
|> David Miller writes:
|> > GDB exec's a shell to setup your environment properly then execute the
|> > program to be debugged. In this way GDB's environemnt doesn't need
|> > to be altered among other things.
|>
|> This "feature" of gdb has caused me nothing but pain over the years; no
|> other program thinks it needs to "setup your environment properly" rather
|> than just use the environment as is.
It has nothing to do with setting up the environment, but without the
shell you would not be able to specify redirections on the command line.
Every other program that supports shelling out does it the same way.
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."