This is the mail archive of the gcc-patches@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: [PATCH]: Track uninitialized variables


Daniel Jacobowitz wrote:
> On Wed, May 09, 2007 at 11:07:28AM -0700, Ian Lance Taylor wrote:
>> I'll expand my recommendation: provide a command line option, and use
>> a configure test to set the default value of the command line option.
>> Any other suggestions?
> 
> Trying to check at configure time for the features of a debugger seems
> like a bad idea. 

For one thing, you can't do it with a Canadian cross, so we're going to
break the invariant that a Canadian cross and an ordinary cross come out
exactly the same.  We should never have configure checks that require
running host programs -- although running build programs which are
assumed to be the same as host programs (such as a build->target
assembler instead of a host->target assembler) is OK.  I guess we could
say that you have to provide a build->target GDB, but that seems pretty
nasty.

I agree that, if we decide this patch should go in, it should just be a
command-line option, with, if we like, a configure-time option to enable it.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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