aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
authorMark Alexander <marka@cygnus>1997-09-26 19:42:55 +0000
committerMark Alexander <marka@cygnus>1997-09-26 19:42:55 +0000
commitaf774411e5e2d374d433e6417e763ad2dce89686 (patch)
tree23bd724cb6bd07ddd6f9056894b410d134124738 /gdb/remote-sim.c
parentb28ad90b4da1f2892cc9d2e2dc11826cad03b88e (diff)
downloadgdb-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/remote-sim.c')
-rw-r--r--gdb/remote-sim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index 0bdb354..d395d8f 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -344,7 +344,7 @@ int regno;
for (regno = 0; regno < NUM_REGS; regno++)
gdbsim_fetch_register (regno);
}
- else
+ else if (reg_names[regno] != NULL && *reg_names[regno] != '\0')
{
char buf[MAX_REGISTER_RAW_SIZE];