From: Jan Kratochvil Date: Wed, 24 Oct 2012 13:45:51 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6e933c51ce6e8a94e6148ec4ba0eea0425fb0e17;p=binutils-gdb.git gdb/testsuite/ * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail_for_target for -m32 mode. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 427d70ab1ad..4db947bff33 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-10-24 Jan Kratochvil + + * gdb.base/callfuncs.exp (do_function_calls): Fix + setup_kfail_for_target for -m32 mode. + 2012-10-23 Mark Kettenis * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800 diff --git a/gdb/testsuite/gdb.base/callfuncs.exp b/gdb/testsuite/gdb.base/callfuncs.exp index 75ea5f0cb6f..54d8548760e 100644 --- a/gdb/testsuite/gdb.base/callfuncs.exp +++ b/gdb/testsuite/gdb.base/callfuncs.exp @@ -245,11 +245,15 @@ proc do_function_calls {} { gdb_test "p t_structs_fc(struct_val1)" ".*= 3 \\+ 3 \\* I" \ "call inferior func with struct - returns float _Complex" - setup_kfail_for_target gdb/12783 "i?86-*-*" + if [is_x86_like_target] { + setup_kfail gdb/12783 "*-*-*" + } gdb_test "p t_structs_dc(struct_val1)" ".*= 4 \\+ 4 \\* I" \ "call inferior func with struct - returns double _Complex" - setup_kfail_for_target gdb/12783 "i?86-*-*" + if [is_x86_like_target] { + setup_kfail gdb/12783 "*-*-*" + } gdb_test "p t_structs_ldc(struct_val1)" "= 5 \\+ 5 \\* I" \ "call inferior func with struct - returns long double _Complex" }