summaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.c++/rtti.exp15
2 files changed, 9 insertions, 11 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 8f67f2ef7be..0410311477a 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2003-05-16 David Carlton <carlton@bactrian.org>
+ * gdb.c++/rtti.exp: Convert the gdb/488 kfail into a fail, and
+ delete the <.*BaseN> branches.
+
+2003-05-16 David Carlton <carlton@bactrian.org>
+
* carlton_runnamespace: Run gdb.c++/rtti.exp, too.
* carlton_runtest (FASTTESTS): Add gdb.c++/breakpoint.exp and
gdb.c++/rtti.exp.
diff --git a/gdb/testsuite/gdb.c++/rtti.exp b/gdb/testsuite/gdb.c++/rtti.exp
index e968e808041..1bc9b7a20e8 100644
--- a/gdb/testsuite/gdb.c++/rtti.exp
+++ b/gdb/testsuite/gdb.c++/rtti.exp
@@ -83,17 +83,12 @@ gdb_continue_to_breakpoint "end of constructors"
gdb_test_multiple "print *e1" "print *e1" {
-re "warning: can't find class named `n1::D1', as given by C\\+\\+ RTTI.*$gdb_prompt $" {
- kfail "gdb/488" "print *e1"
+ #kfail "gdb/488" "print *e1"
+ fail "print *e1"
}
-re "\\$\[0-9\]* = {<n1::Base1> = .*}\r\n$gdb_prompt $" {
pass "print *e1"
}
- -re "\\$\[0-9\]* = {<.*Base1> = .*}\r\n$gdb_prompt $" {
- # NOTE: carlton/2003-05-09: Sometimes, the DWARF reader gets
- # confused about names. I've seen just Base1 or
- # n1::D1::C1::Base1.
- kfail "gdb/TBA" "print *e2"
- }
}
# NOTE: carlton/2003-05-02: This test fails on my branch because,
@@ -106,7 +101,8 @@ gdb_test_multiple "print *e1" "print *e1" {
gdb_test_multiple "print *e2" "print *e2" {
-re "warning: can't find class named `n2::D2', as given by C\\+\\+ RTTI.*$gdb_prompt $" {
- kfail "gdb/488" "print *e2"
+ #kfail "gdb/488" "print *e2"
+ fail "print *e2"
}
-re "\\$\[0-9\]* = <incomplete type>\r\n$gdb_prompt $" {
kfail "gdb/TBA" "print *e2"
@@ -114,9 +110,6 @@ gdb_test_multiple "print *e2" "print *e2" {
-re "\\$\[0-9\]* = {<n2::Base2> = .*}\r\n$gdb_prompt $" {
pass "print *e2"
}
- -re "\\$\[0-9\]* = {<.*Base2> = .*}\r\n$gdb_prompt $" {
- kfail "gdb/TBA" "print *e2"
- }
}
gdb_exit