2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
authorMichael Chastain <mec@google.com>
Wed, 14 Jan 2004 03:57:23 +0000 (03:57 +0000)
committerMichael Chastain <mec@google.com>
Wed, 14 Jan 2004 03:57:23 +0000 (03:57 +0000)
* gdb.cp/derivation.exp: Add XFAIL for bug with protected
inheritance.  PR gdb/1498, PR gcc/13539.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/derivation.exp

index 5308edb0d37e114e5ce5124a343bd0c575af89c5..430a1de39af993c21a3d2d20441c78920ade1092 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-13  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.cp/derivation.exp: Add XFAIL for bug with protected
+       inheritance.  PR gdb/1498, PR gcc/13539.
+
 2004-01-13  Elena Zannoni  <ezannoni@redhat.com>
 
          * gdb.threads/gcore-thread.exp: Prefix name of binary with
index 5f75899feee6c8a147e3edc85c896b5c505fb048..6ef6dbe3948f58b35920bc6388112dd5c5e6a2ec 100644 (file)
@@ -111,14 +111,16 @@ gdb_test_multiple "ptype d_instance" "ptype d_instance" {
        pass "ptype d_instance"
     }
     -re "type = $XX_class${ws}$re_fields${ws}$re_methods${ws}$re_synth_gcc_23$nl\}$nl$gdb_prompt $" {
-       # TODO: this is a gcc bug
-       # kfail "gdb/1498" "ptype d_instance"
-       pass "ptype d_instance"
+       # This is a gcc bug, gcc/13539, gdb/1498.
+       # Fixed in gcc HEAD 2004-01-13
+       setup_xfail "*-*-*" "gcc/13539"
+       fail "ptype d_instance"
     }
     -re "type = $XX_class${ws}$re_fields${ws}$re_all_methods$nl\}$nl$gdb_prompt $" {
-       # TODO: this is a gcc bug.
-       # kfail "gdb/1498" "ptype d_instance"
-       pass "ptype d_instance"
+       # This is a gcc bug, gcc/13539, gdb/1498.
+       # Fixed in gcc HEAD 2004-01-13
+       setup_xfail "*-*-*" "gcc/13539"
+       fail "ptype d_instance"
     }
 }
 
@@ -145,14 +147,16 @@ gdb_test_multiple "ptype e_instance" "ptype e_instance" {
        pass "ptype e_instance"
     }
     -re "type = $XX_class${ws}$re_fields${ws}$re_methods${ws}$re_synth_gcc_23$nl\}$nl$gdb_prompt $" {
-       # TODO: this is a gcc bug.
-       # kfail "gdb/1498" "ptype e_instance"
-       pass "ptype e_instance"
+       # This is a gcc bug, gcc/13539, gdb/1498.
+       # Fixed in gcc HEAD 2004-01-13
+       setup_xfail "*-*-*" "gcc/13539"
+       fail "ptype e_instance"
     }
     -re "type = $XX_class${ws}$re_fields${ws}$re_all_methods$nl\}$nl$gdb_prompt $" {
-       # TODO: this is a gcc bug.
-       # kfail "gdb/1498" "ptype e_instance"
-       pass "ptype e_instance"
+       # This is a gcc bug, gcc/13539, gdb/1498.
+       # Fixed in gcc HEAD 2004-01-13
+       setup_xfail "*-*-*" "gcc/13539"
+       fail "ptype e_instance"
     }
 }