From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Stephane Carrez Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA]: Fix gdb.c++/userdef.exp for HC11 Date: Wed, 27 Jun 2001 22:20:00 -0000 Message-id: <3B3ABB13.5060904@cygnus.com> References: <3B07B0AC.59C50A0@worldnet.fr> X-SW-Source: 2001-06/msg00449.html Anyone? > Hi! > > The test gdb.c++/userdef.exp does not link for HC11 because there is > no C++ iostream. The patch below avoids to execute the test for m6811 target. > > Can you approve it? > > Thanks, > Stephane > > 2001-05-20 Stephane Carrez > > * gdb.c++/userdef.exp: This test fails for 68HC11 because C++ > iostream is not available. > > > > Index: testsuite/gdb.c++/userdef.exp > =================================================================== > RCS file: /cvs/src/src/gdb/testsuite/gdb.c++/userdef.exp,v > retrieving revision 1.3 > diff -u -p -r1.3 userdef.exp > --- userdef.exp 2001/03/21 20:51:16 1.3 > +++ userdef.exp 2001/05/20 11:40:02 > @@ -1,5 +1,5 @@ > # Tests of overloaded operators resolution. > -# Copyright 1998, 1999 Free Software Foundation, Inc. > +# Copyright 1998, 1999, 2001 Free Software Foundation, Inc. > > # This program is free software; you can redistribute it and/or modify > # it under the terms of the GNU General Public License as published by > @@ -28,6 +28,9 @@ if $tracelevel then { > } > > if { [skip_cplus_tests] } { continue } > + > +# The C++ iostream is not available on embedded 68HC11. > +if [istarget "m6811-*-*"] { continue } > > set testfile "userdef" > set srcfile ${testfile}.cc >