diff options
author | Michael Snyder <msnyder@vmware.com> | 2003-08-21 00:01:31 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2003-08-21 00:01:31 +0000 |
commit | 6df2bf50474db4329582717de3adb645b6b0ccf0 (patch) | |
tree | f0e8e242dae698c851fdf04d4696849701846cff /gdb/sh-tdep.h | |
parent | 49d481ae283a40d3ad6ca0dfe53651520dde43f0 (diff) | |
download | gdb-6df2bf50474db4329582717de3adb645b6b0ccf0.zip gdb-6df2bf50474db4329582717de3adb645b6b0ccf0.tar.gz gdb-6df2bf50474db4329582717de3adb645b6b0ccf0.tar.bz2 |
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/sh-tdep.h b/gdb/sh-tdep.h index 1b9c8fe..c35964a 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; }; |