This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFA]: Fix gdb.c++/userdef.exp for HC11


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]