From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Fernando Nasser Cc: Michael Elizabeth Chastain , dberlin@redhat.com, fnasser@redhat.com, gdb-patches@sources.redhat.com Subject: Re: [RFA] testsuite/gdb.c++/ref-types.exp: use runto Date: Fri, 16 Mar 2001 15:19:00 -0000 Message-id: <3AB29F7A.A8C64275@cygnus.com> References: <200103162115.NAA06455@bosch.cygnus.com> <3AB283AC.FD95FEEE@cygnus.com> X-SW-Source: 2001-03/msg00306.html 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