This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [RFA] PR 11530: Fix and test case


> Pierre> +struct a
> Pierre> +  {
> Pierre> +    union
> Pierre> +      {
> Pierre> +        int i;
> Pierre> +      };
> Pierre> +  } a;
> 
> Since this is a C extension, I think that the test cases should
> probably
> be dependent on using GCC.

  I have no idea how to do this....

After lokking into several testsuite exp files:

If the compiler is not gcc we should skip the test,
is that what you want?


if {![test_compiler_info gcc-*]} {
	return 0
}

Would this fit?

Pierre


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