diff options
author | Mark Alexander <marka@cygnus> | 1998-07-30 21:07:14 +0000 |
---|---|---|
committer | Mark Alexander <marka@cygnus> | 1998-07-30 21:07:14 +0000 |
commit | 3d3abf70e9ae10bcbe9f359e1182d2cca2bfd9f1 (patch) | |
tree | 1b3ae50010f2f6e024a01e82e295e2b70732a923 /gdb/config/mips | |
parent | e21cafde4ee9e7380a4992242701677f64658b97 (diff) | |
download | gdb-3d3abf70e9ae10bcbe9f359e1182d2cca2bfd9f1.zip gdb-3d3abf70e9ae10bcbe9f359e1182d2cca2bfd9f1.tar.gz gdb-3d3abf70e9ae10bcbe9f359e1182d2cca2bfd9f1.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/config/mips')
-rw-r--r-- | gdb/config/mips/tm-mips.h | 3 |
1 files changed, 2 insertions, 1 deletions
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. */ |