From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Berlin To: Andrew Cagney Cc: Stephane Carrez , gdb-patches@sources.redhat.com Subject: Re: [RFA]: Fix gdb.c++/userdef.exp for HC11 Date: Wed, 27 Jun 2001 22:43:00 -0000 Message-id: <87d77pi2hm.fsf@cgsoftware.com> References: <3B07B0AC.59C50A0@worldnet.fr> <3B3ABB13.5060904@cygnus.com> X-SW-Source: 2001-06/msg00453.html Andrew Cagney writes: I'm curious. You have a C++ library on 68HC11, but no iostream? libstdc++-v3 can't do this, I think. Certainly, i don't see an option to disable the io portions. And since libsupc++ is built as part of libstdc++-v3, ... Or is this 2.95? > 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 >> > > -- "We were in Salino, Utah when we were arrested for not going through a green light. We pleaded "maybe". I asked the judge if he knew what time it is, he did, and I said, "No further questions." "-Steven Wright