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 5308edb..430a1de 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 5f75899..6ef6dbe 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"
     }
 }