This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] testsuite/gdb.c++/ref-types.exp: use runto
- To: Fernando Nasser <fnasser at cygnus dot com>
- Subject: Re: [RFA] testsuite/gdb.c++/ref-types.exp: use runto
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Fri, 16 Mar 2001 18:19:22 -0500
- Cc: Michael Elizabeth Chastain <chastain at cygnus dot com>,dberlin at redhat dot com, fnasser at redhat dot com,gdb-patches at sources dot redhat dot com
- References: <200103162115.NAA06455@bosch.cygnus.com> <3AB283AC.FD95FEEE@cygnus.com>
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