mips: Switch inferior function calls to ON_STACK method.
authorJoel Brobecker <brobecker@gnat.com>
Wed, 9 May 2012 14:29:02 +0000 (14:29 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Wed, 9 May 2012 14:29:02 +0000 (14:29 +0000)
commit2c76a0c7f171ca01d56349315580e85ecacc394d
tree5ab74be38532b282236190dd886584bdc2d709a0
parent9401a810a55041b82e01cb0edccc46afd35011c9
mips: Switch inferior function calls to ON_STACK method.

This patch switches the mips code to use the ON_STACK method
for function calls instead of AT_SYMBOL, which we want to remove.

gdb/ChangeLog:

        * mips-tdep.c (mips_push_dummy_code): New function.
        (mips_gdbarch_init): Set the gdbarch call_dummy_location to
        ON_STACK and install mips_push_dummy_code as our gdbarch
        push_dummy_code routine.
gdb/ChangeLog
gdb/mips-tdep.c