Re: [RFA] testsuite/gdb.c++/ref-types.exp: use runto

Andrew Cagney
2001-03-16T15:19:00Z

Fernando Nasser wrote:

> Maybe you guys can come up with a simple quick test to determine if we are dealing with v2 or v3. It would be useful to condition tests.

Is there a (something like):

{info,show,set}? cplusplus-abi

command? If there isn't there probably should be :-)

I'd imagine a test that:

o some how checks that the ABI
has been selected correctly

while most C++ tests would:

o ask GDB what the C++ ABI is and
then expect results accordingly.

of course, if GDB gets the first one wrong, the second one is pretty
bad. sizeof.exp plays this trick.

Andrew