From e5f9ba7b275c944b7234072bfce0d9e9689f0ffb Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Tue, 6 Jun 2000 20:17:13 +0000 Subject: [PATCH] 2000-06-02 Michael Snyder * gdb.c++/local.exp: This test has never been known to work with g++. --- gdb/testsuite/ChangeLog | 8 ++++++-- gdb/testsuite/gdb.c++/local.exp | 9 +++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index cfe54cedf6c..a4e8bb9ab42 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -6,8 +6,12 @@ * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it work under g++. - * gdb.c++/misc.cc: Fix ambiguous initialization with correct initialization. - + * gdb.c++/misc.cc: Fix ambiguous initialization with correct + initialization. + +2000-06-02 Michael Snyder + + * gdb.c++/local.exp: This test has never been known to work with g++. 2000-05-18 Michael Snyder diff --git a/gdb/testsuite/gdb.c++/local.exp b/gdb/testsuite/gdb.c++/local.exp index 3730ae99762..10dfabedf43 100644 --- a/gdb/testsuite/gdb.c++/local.exp +++ b/gdb/testsuite/gdb.c++/local.exp @@ -130,6 +130,15 @@ gdb_expect { timeout { fail "(timeout) ptype NestedInnerLocal" } } +# srikanth, These tests have always been run only with aCC. Now in +# the new scheme of things, we run it twice, once with aCC, and once +# with g++. Flag these tests as expected failures when run with g++. +# as these are failing now and were never known to pass with g++. +global gcc_compiled +if {$gcc_compiled} then { +setup_xfail "*-*-*" +} + # gdb incorrectly interprets the NestedInnerLocal in # InnerLocal::NestedInnerLocal as field name instead of a type name; # See CLLbs14784. -- 2.30.2