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 427d70a..4db947b 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 75ea5f0..54d8548 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"
     }