aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2003-12-06 04:40:42 +0000
committerMichael Chastain <mec@google.com>2003-12-06 04:40:42 +0000
commit374451f0e972159ecf4f2fcc0cbcf943baf1fc41 (patch)
tree8cd8cc1b34533fee15492704e6ac8c7ef3949fa1 /gdb/testsuite
parentba9b20a7b168134ce5e6b8cb564fd5886ec385e0 (diff)
downloadgdb-374451f0e972159ecf4f2fcc0cbcf943baf1fc41.zip
gdb-374451f0e972159ecf4f2fcc0cbcf943baf1fc41.tar.gz
gdb-374451f0e972159ecf4f2fcc0cbcf943baf1fc41.tar.bz2
2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/rtti.exp: Accept new wording of warning from cp_lookup_rtti_type.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.cp/rtti.exp10
2 files changed, 15 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 70c3542..fc704ab 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
+ * gdb.cp/rtti.exp: Accept new wording of warning from
+ cp_lookup_rtti_type.
+
+2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
+
Partial fix for PR testsuite/1456.
* gdb.base/scope.exp (test_at_main): Replace references to
gcc_compiled with calls to test_compiler_info.
diff --git a/gdb/testsuite/gdb.cp/rtti.exp b/gdb/testsuite/gdb.cp/rtti.exp
index f99637a..6177f80 100644
--- a/gdb/testsuite/gdb.cp/rtti.exp
+++ b/gdb/testsuite/gdb.cp/rtti.exp
@@ -82,7 +82,12 @@ gdb_breakpoint [gdb_get_line_number "constructs-done"]
gdb_continue_to_breakpoint "end of constructors"
gdb_test_multiple "print *e1" "print *e1" {
+ -re "warning: RTTI symbol not found for class 'n1::D1'.*$gdb_prompt $" {
+ # gdb HEAD 2003-12-05
+ kfail "gdb/488" "print *e1"
+ }
-re "warning: can't find class named `n1::D1', as given by C\\+\\+ RTTI.*$gdb_prompt $" {
+ # gdb 6.0
kfail "gdb/488" "print *e1"
}
-re "\\$\[0-9\]* = {<n1::Base1> = .*}\r\n$gdb_prompt $" {
@@ -108,7 +113,12 @@ gdb_test_multiple "print *e1" "print *e1" {
# that fail branch to an xfail.
gdb_test_multiple "print *e2" "print *e2" {
+ -re "warning: RTTI symbol not found for class 'n2::D2'.*$gdb_prompt $" {
+ # gdb HEAD 2003-12-05
+ kfail "gdb/488" "print *e2"
+ }
-re "warning: can't find class named `n2::D2', as given by C\\+\\+ RTTI.*$gdb_prompt $" {
+ # gdb 6.0
kfail "gdb/488" "print *e2"
}
-re "\\$\[0-9\]* = <incomplete type>\r\n$gdb_prompt $" {