gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 24 Oct 2012 13:45:51 +0000 (13:45 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 24 Oct 2012 13:45:51 +0000 (13:45 +0000)
* gdb.base/callfuncs.exp (do_function_calls): Fix
setup_kfail_for_target for -m32 mode.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/callfuncs.exp

index 427d70ab1adfe465277068551f90f6418c5371e5..4db947bff33a1c324ed1b581b8670e0afd664d1a 100644 (file)
@@ -1,3 +1,8 @@
+2012-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/callfuncs.exp (do_function_calls): Fix
+       setup_kfail_for_target for -m32 mode.
+
 2012-10-23  Mark Kettenis  <kettenis@gnu.org>
 
        * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
index 75ea5f0cb6f9ea436291f4b1de7fc09f66e0b780..54d8548760ee0496e8c3f0e1961ba8456676e80b 100644 (file)
@@ -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"
     }