From: Michael Chastain Date: Wed, 14 Jan 2004 03:57:23 +0000 (+0000) Subject: 2004-01-13 Michael Chastain X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=f40063a5ba7542931997a58f1e637a67700f8750;p=deliverable%2Fbinutils-gdb.git 2004-01-13 Michael Chastain * gdb.cp/derivation.exp: Add XFAIL for bug with protected inheritance. PR gdb/1498, PR gcc/13539. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5308edb0d3..430a1de39a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-01-13 Michael Chastain + + * gdb.cp/derivation.exp: Add XFAIL for bug with protected + inheritance. PR gdb/1498, PR gcc/13539. + 2004-01-13 Elena Zannoni * 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 5f75899fee..6ef6dbe394 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" } }