This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: Fix gdb.c++/userdef.exp for HC11
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: [RFA]: Fix gdb.c++/userdef.exp for HC11
- From: Daniel Berlin <dan at cgsoftware dot com>
- Date: Thu, 28 Jun 2001 01:43:01 -0400
- Cc: Stephane Carrez <Stephane dot Carrez at worldnet dot fr>,gdb-patches at sources dot redhat dot com
- References: <3B07B0AC.59C50A0@worldnet.fr> <3B3ABB13.5060904@cygnus.com>
Andrew Cagney <ac131313@cygnus.com> 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 <Stephane.Carrez@worldnet.fr>
>
>> * 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