* config/arm/tm-linux.h (IN_SOLIB_RETURN_TRAMPOLINE): Delete.
* config/mips/tm-nbsd.h, config/mips/tm-linux.h: Delete #undef
IN_SOLIB_RETURN_TRAMPOLINE.
* mips-tdep.c (mips_dump_tdep): Do not print
IN_SOLIB_RETURN_TRAMPOLINE.
(mips_in_solib_return_trampoline): Rename mips_in_return_stub.
(mips_gdbarch_init): Update.
2004-10-26 Andrew Cagney <cagney@gnu.org>
+ * config/arm/tm-linux.h (IN_SOLIB_RETURN_TRAMPOLINE): Delete.
+ * config/mips/tm-nbsd.h, config/mips/tm-linux.h: Delete #undef
+ IN_SOLIB_RETURN_TRAMPOLINE.
+ * mips-tdep.c (mips_dump_tdep): Do not print
+ IN_SOLIB_RETURN_TRAMPOLINE.
+ (mips_in_solib_return_trampoline): Rename mips_in_return_stub.
+ (mips_gdbarch_init): Update.
+
* mips-tdep.h (mips_software_single_step): Move to here ...
* config/mips/tm-mips.h: ... from here.
* config/mips/tm-linux.h (SOFTWARE_SINGLE_STEP_P)
/* We've multi-arched this. */
#undef IN_SOLIB_CALL_TRAMPOLINE
-/* On ARM GNU/Linux, a call to a library routine does not have to go
- through any trampoline code. */
-#define IN_SOLIB_RETURN_TRAMPOLINE(pc, name) 0
-
/* We've multi-arched this. */
#undef SKIP_TRAMPOLINE_CODE
/* We don't want to inherit tm-mips.h's shared library trampoline code. */
-#undef IN_SOLIB_RETURN_TRAMPOLINE
#undef SKIP_TRAMPOLINE_CODE
#undef IGNORE_HELPER_CALL
/* We don't want to inherit tm-mips.h's shared library trampoline code. */
#undef IN_SOLIB_CALL_TRAMPOLINE
-#undef IN_SOLIB_RETURN_TRAMPOLINE
#undef SKIP_TRAMPOLINE_CODE
#undef DEPRECATED_IGNORE_HELPER_CALL
}
-/* Return non-zero if the PC is inside a return thunk (aka stub or trampoline).
- This implements the IN_SOLIB_RETURN_TRAMPOLINE macro. */
+/* Return non-zero if the PC is inside a return thunk (aka stub or
+ trampoline). */
static int
-mips_in_return_stub (CORE_ADDR pc, char *name)
+mips_in_solib_return_trampoline (CORE_ADDR pc, char *name)
{
CORE_ADDR start_addr;
if (info.osabi == GDB_OSABI_UNKNOWN)
{
set_gdbarch_in_solib_call_trampoline (gdbarch, mips_in_call_stub);
- set_gdbarch_in_solib_return_trampoline (gdbarch, mips_in_return_stub);
+ set_gdbarch_in_solib_return_trampoline (gdbarch, mips_in_solib_return_trampoline);
}
/* Hook in OS ABI-specific overrides, if they have been registered. */
fprintf_unfiltered (file,
"mips_dump_tdep: IN_SOLIB_CALL_TRAMPOLINE # %s\n",
XSTRING (IN_SOLIB_CALL_TRAMPOLINE (PC, NAME)));
- fprintf_unfiltered (file,
- "mips_dump_tdep: IN_SOLIB_RETURN_TRAMPOLINE # %s\n",
- XSTRING (IN_SOLIB_RETURN_TRAMPOLINE (PC, NAME)));
fprintf_unfiltered (file,
"mips_dump_tdep: LAST_EMBED_REGNUM = %d\n",
LAST_EMBED_REGNUM);