* config/sparc/tm-sparc.h (CALL_DUMMY): Shorten it drastically,
authorMark Alexander <marka@cygnus>
Mon, 27 Apr 1998 22:19:46 +0000 (22:19 +0000)
committerMark Alexander <marka@cygnus>
Mon, 27 Apr 1998 22:19:46 +0000 (22:19 +0000)
commit07f4558723c6994b360261786b4bdd2e7babcd97
tree20078a3e4e7baff72d963263611bfb19e7a6b8d6
parent072aa625aac207da53d3a5ad7d1415b03a5a8c9e
* config/sparc/tm-sparc.h (CALL_DUMMY): Shorten it drastically,
make it work on the simulator.
(FIX_CALL_DUMMY): Convert to function call instead of inline code.
(sparc_fix_call_dummy): Declare.
* sparc-tdep.c (sparc_fix_call_dummy): New function, taken from
old FIX_CALL_DUMMY macro, with additional fixes for simulator.
(sparc_push_dummy_frame): Set registers differently on simulator
to prevent corrupted register window save areas.
gdb/ChangeLog
gdb/config/sparc/tm-sparc.h