aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/callfuncs.exp8
2 files changed, 11 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 427d70a..4db947b 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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
diff --git a/gdb/testsuite/gdb.base/callfuncs.exp b/gdb/testsuite/gdb.base/callfuncs.exp
index 75ea5f0..54d8548 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"
}