summaryrefslogtreecommitdiff
path: root/gdb/sh-tdep.h
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2003-08-21 00:01:31 +0000
committerMichael Snyder <msnyder@specifix.com>2003-08-21 00:01:31 +0000
commitfebaa82a043f1c8d6e47946e8721e5deca234ce6 (patch)
tree37f544e28d501838490e84e8b2ba797f9678ee71 /gdb/sh-tdep.h
parentf80ac198351dd68a85da5b43df2d1cc32e047dbd (diff)
downloadgdb-febaa82a043f1c8d6e47946e8721e5deca234ce6.tar.gz
2003-08-20 Michael Snyder <msnyder@redhat.com>
* sh-tdep.h (struct gdbarch_tdep): New member FLOAT_ARGLAST_REG. * sh-tdep.c (sh_gdbarch_init): For sh2e, sh3e, and sh4, set FLOAT_ARG0_REGNUM and FLOAT_ARGLAST_REGNUM, to be used for argument passing. (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu): New functions, replace sh_push_dummy_call. (sh_gdbarch_init): Set push_dummy_call to one of new methods.
Diffstat (limited to 'gdb/sh-tdep.h')
-rw-r--r--gdb/sh-tdep.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/sh-tdep.h b/gdb/sh-tdep.h
index 1b9c8fe4b69..c35964a0479 100644
--- a/gdb/sh-tdep.h
+++ b/gdb/sh-tdep.h
@@ -85,7 +85,8 @@ struct gdbarch_tdep
int FV_LAST_C_REGNUM; /* sh5-compact*/
int ARG0_REGNUM;
int ARGLAST_REGNUM;
- int FLOAT_ARGLAST_REGNUM;
+ int FLOAT_ARG0_REGNUM; /* sh4 */
+ int FLOAT_ARGLAST_REGNUM; /* sh4, sh5 */
int RETURN_REGNUM;
enum sh_abi sh_abi;
};