aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2003-11-12 00:41:59 +0000
committerDavid Carlton <carlton@bactrian.org>2003-11-12 00:41:59 +0000
commita92f410b3c91fac23cb1584637d37f473a1dd7d5 (patch)
tree77ac0cbe9f146a74e6590f2f1e22dd0efa5c04f0
parent264126a73ab7695b6e05daf164c48e3200168774 (diff)
downloadgdb-a92f410b3c91fac23cb1584637d37f473a1dd7d5.zip
gdb-a92f410b3c91fac23cb1584637d37f473a1dd7d5.tar.gz
gdb-a92f410b3c91fac23cb1584637d37f473a1dd7d5.tar.bz2
2003-11-11 David Carlton <carlton@kealia.com>
* gdb.cp/namespace.exp: KFAIL various tests with respect to PR gdb/1448. Change existing setup_kfails to refer to gdb/XXX instead of c++/XXX.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.cp/namespace.exp22
2 files changed, 17 insertions, 9 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 7ce6bdd..88f8c23 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2003-11-11 David Carlton <carlton@kealia.com>
+ * gdb.cp/namespace.exp: KFAIL various tests with respect to PR
+ gdb/1448. Change existing setup_kfails to refer to gdb/XXX
+ instead of c++/XXX.
+
* gdb.cp/namespace.exp: Remove doubled comment.
2003-11-11 Nick Clifton <nickc@redhat.com>
diff --git a/gdb/testsuite/gdb.cp/namespace.exp b/gdb/testsuite/gdb.cp/namespace.exp
index 742a3b9..ef7385e 100644
--- a/gdb/testsuite/gdb.cp/namespace.exp
+++ b/gdb/testsuite/gdb.cp/namespace.exp
@@ -256,8 +256,11 @@ gdb_test "ptype E" "type = namespace C::D::E"
gdb_test "ptype CClass" "type = class C::CClass \{\r\n public:\r\n int x;\r\n\}"
gdb_test "ptype CClass::NestedClass" "type = class C::CClass::NestedClass \{\r\n public:\r\n int y;\r\n\}"
gdb_test "ptype NestedClass" "No symbol \"NestedClass\" in current context."
+setup_kfail "gdb/1448" "*-*-*"
gdb_test "ptype ::C::CClass" "type = class C::CClass \{\r\n public:\r\n int x;\r\n\}"
+setup_kfail "gdb/1448" "*-*-*"
gdb_test "ptype ::C::CClass::NestedClass" "type = class C::CClass::NestedClass \{\r\n public:\r\n int y;\r\n\}"
+setup_kfail "gdb/1448" "*-*-*"
gdb_test "ptype ::C::NestedClass" "No symbol \"NestedClass\" in namespace \"C\"."
gdb_test "ptype C::CClass" "No symbol \"CClass\" in namespace \"C::C\"."
gdb_test "ptype C::CClass::NestedClass" "No type \"CClass\" within class or namespace \"C::C\"."
@@ -267,6 +270,7 @@ gdb_test "ptype C::NestedClass" "No symbol \"NestedClass\" in namespace \"C::C\"
gdb_test "print cOtherFile" "\\$\[0-9\].* = 316"
gdb_test "ptype OtherFileClass" "type = class C::OtherFileClass \{\r\n public:\r\n int z;\r\n\}"
+setup_kfail "gdb/1448" "*-*-*"
gdb_test "ptype ::C::OtherFileClass" "type = class C::OtherFileClass \{\r\n public:\r\n int z;\r\n\}"
gdb_test "ptype C::OtherFileClass" "No symbol \"OtherFileClass\" in namespace \"C::C\"."
@@ -285,7 +289,7 @@ gdb_test "print XOtherFile" "No symbol \"XOtherFile\" in current context."
# Test namespace renaming.
-setup_kfail "c++/830" "*-*-*"
+setup_kfail "gdb/830" "*-*-*"
gdb_test "print I::h" "\\$\[0-9\].* = 14"
# Test using directives.
@@ -294,22 +298,22 @@ gdb_test "print I::h" "\\$\[0-9\].* = 14"
# have unfortunate interactions with namespace scope issues. As of
# this writing, some of these pass, but they pass for the wrong reasons.
-setup_kfail "c++/829" "*-*-*"
+setup_kfail "gdb/829" "*-*-*"
gdb_test "print j" "\\$\[0-9\].* = 15"
-setup_kfail "c++/829" "*-*-*"
+setup_kfail "gdb/829" "*-*-*"
gdb_test "print L::k" "\\$\[0-9\].* = 16"
-setup_kfail "c++/829" "*-*-*"
+setup_kfail "gdb/829" "*-*-*"
gdb_test "print k" "No symbol \"k\" in current context."
-setup_kfail "c++/829" "*-*-*"
+setup_kfail "gdb/829" "*-*-*"
gdb_test "print cdm" "\\$\[0-9\].* = 17"
-setup_kfail "c++/829" "*-*-*"
+setup_kfail "gdb/829" "*-*-*"
gdb_test "print Q::o" "\\$\[0-9\].* = 18"
-setup_kfail "c++/829" "*-*-*"
+setup_kfail "gdb/829" "*-*-*"
gdb_test "print o" "No symbol \"o\" in current context."
# Test using declarations. I should probably test these more.
-setup_kfail "c++/831" "*-*-*"
+setup_kfail "gdb/831" "*-*-*"
gdb_test "print r1" "\\$\[0-9\].* = 19"
-setup_kfail "c++/831" "*-*-*"
+setup_kfail "gdb/831" "*-*-*"
gdb_test "print r2" "No symbol \"r2\" in current context."