This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFA]: Fix gdb.c++/userdef.exp for HC11
- To: gdb-patches at sources dot redhat dot com
- Subject: [RFA]: Fix gdb.c++/userdef.exp for HC11
- From: Stephane Carrez <Stephane dot Carrez at worldnet dot fr>
- Date: Sun, 20 May 2001 13:55:24 +0200
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