* mips-tdep.c (mask_address_p): New variable.
authorMark Alexander <marka@cygnus>
Thu, 30 Jul 1998 21:07:14 +0000 (21:07 +0000)
committerMark Alexander <marka@cygnus>
Thu, 30 Jul 1998 21:07:14 +0000 (21:07 +0000)
(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

index 76cb114cedfd67491f0f6fad91447ef415bf3af0..4d01254bf0c615cf09a2e060ca0acff4eed622c2 100644 (file)
@@ -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.  */