aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/callfuncs.exp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-08-22 15:13:04 +0000
committerDaniel Jacobowitz <drow@false.org>2007-08-22 15:13:04 +0000
commit8d26208a1e22d9720c1423625c7e15f1bc7d237c (patch)
tree865c53dc061875f491071df2a55cd1fafcf97391 /gdb/testsuite/gdb.base/callfuncs.exp
parent65728c26984bf8b45c0f473d96443186b5c4ebab (diff)
downloadgdb-8d26208a1e22d9720c1423625c7e15f1bc7d237c.zip
gdb-8d26208a1e22d9720c1423625c7e15f1bc7d237c.tar.gz
gdb-8d26208a1e22d9720c1423625c7e15f1bc7d237c.tar.bz2
gdb/testsuite/
* gdb.base/callfuncs.exp (do_function_calls): Use t_double_int and t_int_double. * gdb.base/callfuncs.c (t_double_int, t_int_double): New. gdb/ * mips-tdep.c (mips_n32n64_fp_arg_chunk_p): New. (mips_n32n64_push_dummy_call): Always increment float_argreg along with argreg. Use mips_n32n64_fp_arg_chunk_p.
Diffstat (limited to 'gdb/testsuite/gdb.base/callfuncs.exp')
-rw-r--r--gdb/testsuite/gdb.base/callfuncs.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/callfuncs.exp b/gdb/testsuite/gdb.base/callfuncs.exp
index 6839abf..7d53e98 100644
--- a/gdb/testsuite/gdb.base/callfuncs.exp
+++ b/gdb/testsuite/gdb.base/callfuncs.exp
@@ -163,6 +163,11 @@ proc do_function_calls {} {
gdb_test "p t_double_values(double_val1,double_val2)" " = 1"
gdb_test "p t_double_values(45.654,double_val2)" " = 1"
gdb_test "p t_double_values(double_val1,-67.66)" " = 1"
+
+ gdb_test "p t_double_int(99.0, 1)" " = 0"
+ gdb_test "p t_double_int(99.0, 99)" " = 1"
+ gdb_test "p t_int_double(99, 1.0)" " = 0"
+ gdb_test "p t_int_double(99, 99.0)" " = 1"
}
gdb_test "p t_string_values(string_val2,string_val1)" " = 0"