diff options
author | Mark Alexander <marka@cygnus> | 1997-09-26 19:42:55 +0000 |
---|---|---|
committer | Mark Alexander <marka@cygnus> | 1997-09-26 19:42:55 +0000 |
commit | af774411e5e2d374d433e6417e763ad2dce89686 (patch) | |
tree | 23bd724cb6bd07ddd6f9056894b410d134124738 /gdb/config/mips | |
parent | b28ad90b4da1f2892cc9d2e2dc11826cad03b88e (diff) | |
download | gdb-af774411e5e2d374d433e6417e763ad2dce89686.zip gdb-af774411e5e2d374d433e6417e763ad2dce89686.tar.gz gdb-af774411e5e2d374d433e6417e763ad2dce89686.tar.bz2 |
* config/mips-tm-mips.h (mips_extra_func_info): New frame_adjust
member for storing offset of MIPS16 frame pointer from SP.
* mips-tdep.c: Use RA_REGNUM instead of hardcoded 31 throughout.
(PROC_FRAME_ADJUST): Define.
(mips16_heuristic_proc_desc): Store frame pointer adjustment value.
(get_frame_pointer): Use frame pointer adjustment value when
calculating frame address.
* remote-sim.c (gdbsim_fetch_register): Don't fetch registers
that have a null or empty name.
start-sanitize-tx19
* config/mips/tm-tx19.h (MIPS_DEFAULT_FPU_TYPE): Define.
(REGISTER_NAMES): Redefine to eliminate FP registers.
* config/mips/tm-tx19l.h: Ditto.
end-sanitize-tx19
Diffstat (limited to 'gdb/config/mips')
-rw-r--r-- | gdb/config/mips/tm-mips.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h index 484b031..aa40510 100644 --- a/gdb/config/mips/tm-mips.h +++ b/gdb/config/mips/tm-mips.h @@ -452,6 +452,7 @@ extern void ecoff_relocate_efi PARAMS ((struct symbol *, CORE_ADDR)); typedef struct mips_extra_func_info { long numargs; /* number of args to procedure (was iopt) */ bfd_vma high_addr; /* upper address bound */ + long frame_adjust; /* offset of FP from SP (used on MIPS16) */ PDR pdr; /* Procedure descriptor record */ } *mips_extra_func_info_t; |