2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
authorMichael Chastain <mec@google.com>
Sat, 6 Dec 2003 04:40:42 +0000 (04:40 +0000)
committerMichael Chastain <mec@google.com>
Sat, 6 Dec 2003 04:40:42 +0000 (04:40 +0000)
* gdb.cp/rtti.exp: Accept new wording of warning from
cp_lookup_rtti_type.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/rtti.exp

index 70c3542529acdb93fdc70ed0ddcc7401193e4033..fc704ab82fb20c704bb6813f54206df59cb0cd6e 100644 (file)
@@ -1,3 +1,8 @@
+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.
index f99637a28a9e81ee8479e3f41d70bcfc19105016..6177f80d00f58169b64fbb549e82ac67e434d69c 100644 (file)
@@ -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 $" {
This page took 0.032986 seconds and 4 git commands to generate.