From 3d3abf70e9ae10bcbe9f359e1182d2cca2bfd9f1 Mon Sep 17 00:00:00 2001 From: Mark Alexander Date: Thu, 30 Jul 1998 21:07:14 +0000 Subject: * mips-tdep.c (mask_address_p): New variable. (mips_addr_bits_remove): Test mask_address_p to decide whether to mask off the upper 32 bits of addresses. (_initialize_mips_tdep): Add command to set mask_address_p. (mips_call_dummy_address): New function. * config/mips/tm-mips.h (CALL_DUMMY_ADDRESS): Redefine to call mips_call_dummy_address. --- gdb/config/mips/tm-mips.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h index 76cb114..4d01254 100644 --- a/gdb/config/mips/tm-mips.h +++ b/gdb/config/mips/tm-mips.h @@ -447,7 +447,8 @@ extern void mips_pop_frame PARAMS ((void)); #define CALL_DUMMY_LOCATION AT_ENTRY_POINT -#define CALL_DUMMY_ADDRESS() (entry_point_address ()) +#define CALL_DUMMY_ADDRESS() (mips_call_dummy_address ()) +extern CORE_ADDR mips_call_dummy_address PARAMS ((void)); /* There's a mess in stack frame creation. See comments in blockframe.c near reference to INIT_FRAME_PC_FIRST. */ -- cgit v1.1