2004-10-31 Andrew Cagney <cagney@gnu.org>
+ * xstormy16-tdep.c (xstormy16_in_solib_call_trampoline)
+ (xstormy16_gdbarch_init): Do not set in_solib_call_trampoline,
+ delete corresponding unused function.
+ * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Really do not set
+ in_solib_call_trampoline.
+ * config/arm/tm-embed.h (IN_SOLIB_CALL_TRAMPOLINE): Delete.
+ * config/powerpc/tm-linux.h: Delete #undef IN_SOLIB_CALL_TRAMPOLINE.
+ * config/mips/tm-nbsd.h: Ditto.
+ * config/arm/tm-linux.h: Ditto.
+ * config/mips/tm-linux.h: Ditto.
+
* armnbsd-tdep.c (arm_netbsd_aout_init_abi)
(arm_netbsd_aout_in_solib_call_trampoline): Do not set
in_solib_call_trampoline, delete corresponding unused function.
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
arm_netbsd_init_abi_common (info, gdbarch);
-
- set_gdbarch_in_solib_call_trampoline
- (gdbarch, arm_netbsd_aout_in_solib_call_trampoline);
tdep->fp_model = ARM_FLOAT_SOFT_FPA;
}
#define THUMB_BE_BREAKPOINT {0xbe,0xbe}
/* Functions for dealing with Thumb call thunks. */
-#define IN_SOLIB_CALL_TRAMPOLINE(pc, name) arm_in_call_stub (pc, name)
#define SKIP_TRAMPOLINE_CODE(pc) arm_skip_stub (pc)
extern int arm_in_call_stub (CORE_ADDR pc, char *name);
extern CORE_ADDR arm_skip_stub (CORE_ADDR pc);
#include "config/tm-linux.h"
-/* We've multi-arched this. */
-#undef IN_SOLIB_CALL_TRAMPOLINE
-
/* We've multi-arched this. */
#undef SKIP_TRAMPOLINE_CODE
#define IN_SOLIB_DYNSYM_RESOLVE_CODE(PC) mips_linux_in_dynsym_resolve_code (PC)
int mips_linux_in_dynsym_resolve_code (CORE_ADDR pc);
-/* We don't want all of tm-sysv4.h's shared library trampoline code either.
- Note that by undefining IN_SOLIB_CALL_TRAMPOLINE here we will use the
- gdbarch vector's version instead. */
-
-#undef IN_SOLIB_CALL_TRAMPOLINE
-
#endif /* TM_MIPSLINUX_H */
#include "solib.h"
-#undef IN_SOLIB_CALL_TRAMPOLINE
#undef SKIP_TRAMPOLINE_CODE
#undef DEPRECATED_IGNORE_HELPER_CALL
/* We've multi-arched these. (Note that this completely undoes the
effect of config/tm-linux.h #including config/tm-sysv4.h.) */
-#undef IN_SOLIB_CALL_TRAMPOLINE
#undef SKIP_TRAMPOLINE_CODE
/* Make sure nexti gets the help it needs for debugging assembly code
return 0;
}
-static int
-xstormy16_in_solib_call_trampoline (CORE_ADDR pc, char *name)
-{
- return xstormy16_skip_trampoline_code (pc) != 0;
-}
-
/* Function pointers are 16 bit. The address space is 24 bit, using
32 bit addresses. Pointers to functions on the XStormy16 are implemented
by using 16 bit pointers, which are either direct pointers in case the
set_gdbarch_return_value (gdbarch, xstormy16_return_value);
set_gdbarch_skip_trampoline_code (gdbarch, xstormy16_skip_trampoline_code);
- set_gdbarch_in_solib_call_trampoline (gdbarch,
- xstormy16_in_solib_call_trampoline);
set_gdbarch_print_insn (gdbarch, print_insn_xstormy16);