Re: [RFA] c++/11734 revisited

Keith Seitz
2010-12-10T15:21:35Z

On 12/09/2010 01:52 PM, Jan Kratochvil wrote:

>> Keith> +if {[get_compiler_info $binfile "c++"]} {
>> Keith> + return -1
>> Keith> +}

> If the reason was get_compiler_info it does not use $binfile anyway.
> (And a lot of gdb testsuite code expects so.)

I admit, I copy & pasted that bit from other gdb.cp tests. I'm not even
sure why it is necessary, since we have skip_cplus_tests already. Is
there any case where we would not have a C++ compiler and
skip_cplus_tests != true?

For now, I've simply removed this and converted the whole thing over to
using prepare_for_testing. I noted one or two other gdb.cp tests which
don't check get_compiler_info.

Keith