aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/derivation.exp
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2004-01-14 03:57:23 +0000
committerMichael Chastain <mec@google.com>2004-01-14 03:57:23 +0000
commitf40063a5ba7542931997a58f1e637a67700f8750 (patch)
tree499b574ff36960e3ff448dff17e40fabb1745751 /gdb/testsuite/gdb.cp/derivation.exp
parent32159579f0672fc1e96f169fd5bce0151f6d9381 (diff)
downloadgdb-f40063a5ba7542931997a58f1e637a67700f8750.zip
gdb-f40063a5ba7542931997a58f1e637a67700f8750.tar.gz
gdb-f40063a5ba7542931997a58f1e637a67700f8750.tar.bz2
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.
Diffstat (limited to 'gdb/testsuite/gdb.cp/derivation.exp')
-rw-r--r--gdb/testsuite/gdb.cp/derivation.exp28
1 files changed, 16 insertions, 12 deletions
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"
}
}