This is the mail archive of the gdb-patches@sources.redhat.com 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]

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


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


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