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.
This commit is contained in:
parent
e8ce19c0cd
commit
19d718a3ac
8 changed files with 11 additions and 23 deletions
|
@ -1,5 +1,16 @@
|
|||
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.
|
||||
|
|
|
@ -78,9 +78,6 @@ arm_netbsd_aout_init_abi (struct gdbarch_info info,
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
|
@ -41,7 +41,6 @@
|
|||
#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);
|
||||
|
|
|
@ -26,9 +26,6 @@
|
|||
|
||||
#include "config/tm-linux.h"
|
||||
|
||||
/* We've multi-arched this. */
|
||||
#undef IN_SOLIB_CALL_TRAMPOLINE
|
||||
|
||||
/* We've multi-arched this. */
|
||||
#undef SKIP_TRAMPOLINE_CODE
|
||||
|
||||
|
|
|
@ -35,10 +35,4 @@
|
|||
#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 */
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
|
||||
#include "solib.h"
|
||||
|
||||
#undef IN_SOLIB_CALL_TRAMPOLINE
|
||||
#undef SKIP_TRAMPOLINE_CODE
|
||||
#undef DEPRECATED_IGNORE_HELPER_CALL
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|||
|
||||
/* 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
|
||||
|
|
|
@ -577,12 +577,6 @@ xstormy16_skip_trampoline_code (CORE_ADDR pc)
|
|||
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
|
||||
|
@ -849,8 +843,6 @@ xstormy16_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
|
|||
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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue