aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.cp/derivation.exp28
2 files changed, 21 insertions, 12 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5308edb..430a1de 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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
diff --git a/gdb/testsuite/gdb.cp/derivation.exp b/gdb/testsuite/gdb.cp/derivation.exp
index 5f75899..6ef6dbe 100644
--- a/gdb/testsuite/gdb.cp/derivation.exp
+++ b/gdb/testsuite/gdb.cp/derivation.exp
@@ -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"
}
}