summaryrefslogtreecommitdiff
path: root/gdb/testsuite
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
commit99918b4c21249c47f25726fbfebd8124c8bdb152 (patch)
tree3dc5d304b0b50891c10957afdf5be581c4f50bf9 /gdb/testsuite
parent6b3c3de29663ffbdd17ddeffb80627f6aa33f751 (diff)
downloadgdb-99918b4c21249c47f25726fbfebd8124c8bdb152.tar.gz
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.
Diffstat (limited to 'gdb/testsuite')
-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 7ce6bdda69c..88f8c231792 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 742a3b940a6..ef7385e5c20 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."