2003-08-20 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Thu, 21 Aug 2003 00:01:31 +0000 (00:01 +0000)
committerMichael Snyder <msnyder@vmware.com>
Thu, 21 Aug 2003 00:01:31 +0000 (00:01 +0000)
commit6df2bf50474db4329582717de3adb645b6b0ccf0
treef0e8e242dae698c851fdf04d4696849701846cff
parent49d481ae283a40d3ad6ca0dfe53651520dde43f0
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.
gdb/ChangeLog
gdb/sh-tdep.c
gdb/sh-tdep.h