summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/nsrecurs.exp
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2013-11-13 12:33:34 -0800
committerKeith Seitz <keiths@redhat.com>2013-11-13 12:33:34 -0800
commit74921315b6734554793a37f7a152878c45b7d4ac (patch)
treebb2e70a9c14020eb5f9649202abc23f5e332e95b /gdb/testsuite/gdb.cp/nsrecurs.exp
parent793156e67263707a4184321d9154dea6ad99575a (diff)
downloadbinutils-gdb-74921315b6734554793a37f7a152878c45b7d4ac.tar.gz
PR c++/7539
PR c++/10541 This patch fixes some namespace alias bugs reported in the above bugs. Links to all mailing list discussion: https://sourceware.org/ml/gdb-patches/2013-07/msg00649.html https://sourceware.org/ml/gdb-patches/2013-09/msg00557.html https://sourceware.org/ml/gdb-patches/2013-11/msg00156.html
Diffstat (limited to 'gdb/testsuite/gdb.cp/nsrecurs.exp')
-rw-r--r--gdb/testsuite/gdb.cp/nsrecurs.exp10
1 files changed, 6 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.cp/nsrecurs.exp b/gdb/testsuite/gdb.cp/nsrecurs.exp
index 0537e89f26e..9cf4331e8e9 100644
--- a/gdb/testsuite/gdb.cp/nsrecurs.exp
+++ b/gdb/testsuite/gdb.cp/nsrecurs.exp
@@ -52,8 +52,10 @@ gdb_test "print xx" "= 999"
# Test printing using recursive namespace
# aliases.
-setup_kfail "gdb/10541" "*-*-*"
-gdb_test "ptype G::GF" "= namespace F"
+if {![test_compiler_info {gcc-[0-3]-*}]} {
+ gdb_test "ptype G::GF" "= namespace F"
-setup_kfail "gdb/10541" "*-*-*"
-gdb_test "print G::GF::FE::ex" "= 9999"
+ if {![test_compiler_info {gcc-4-[0-3]-*}]} {
+ gdb_test "print G::GF::FE::ex" "= 9999"
+ }
+}