* mips-tdep.c (mips_in_call_stub, mips_in_return_stub,
authorMark Alexander <marka@cygnus>
Thu, 3 Apr 1997 19:43:39 +0000 (19:43 +0000)
committerMark Alexander <marka@cygnus>
Thu, 3 Apr 1997 19:43:39 +0000 (19:43 +0000)
commit4eb4b87e13548a3cdf14f779d52dd51f50bff5e6
treefc82ee5fd40e24210371de388b46cde77c126f0a
parentbef474032d4600ef46d74a17d0e52c62effdc9e8
* mips-tdep.c (mips_in_call_stub, mips_in_return_stub,
mips_skip_stub, mips_ignore_helper): New functions for dealing
with MIPS16 call/return thunks.
(mips_init_frame_pc_first): New function to implement
INIT_FRAME_PC_FIRST macro; includes code from old macro plus
new code to skip over MIPS16 thunks.
(mips_frame_chain): Skip over MIPS16 thunks.
* config/mips/tm-mips.h (mips_in_call_stub, mips_in_return_stub,
mips_skip_stub, mips_ignore_helper): Declare.
(IN_SOLIB_CALL_TRAMPOLINE, IN_SOLIB_RETURN_TRAMPOLINE,
SKIP_TRAMPOLINE_CODE, IGNORE_HELPER_CALL): New macros that invoke
the above functions.
(INIT_FRAME_PC_FIRST): Change to invoke mips_init_frame_pc.
(mips_init_frame_pc): Declare.
* infrun.c (wait_for_inferior): Use new IGNORE_HELPER_CALL macro
to decide if certain library function calls should be ignored.
gdb/ChangeLog
gdb/config/mips/tm-mips.h
gdb/infrun.c