From 639c86123023437b903cbb65a4fb51154956dba6 Mon Sep 17 00:00:00 2001 From: Mark Alexander Date: Tue, 30 Sep 1997 06:20:59 +0000 Subject: * mips-tdep.c (set_reg_offset): New function. (mips16_heuristic_proc_desc): Calculate offsets of registers saved by entry pseudo-op after rest of prologue has been read. Use set_reg_offset to ignore all but the first save of a given register. (mips32_heuristic_proc_desc): Initialize frame adjustment value. * remote-sim.c (gdbsim_store_register): Don't update registers that have a null or empty name. * findvar.c (read_register_bytes): Don't fetch registers that have a null or empty name. --- gdb/remote-sim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/remote-sim.c') diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index d395d8f..816e9cc 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -369,7 +369,7 @@ int regno; for (regno = 0; regno < NUM_REGS; regno++) gdbsim_store_register (regno); } - else + else if (reg_names[regno] != NULL && *reg_names[regno] != '\0') { /* FIXME: Until read_register() returns LONGEST, we have this. */ char tmp[MAX_REGISTER_RAW_SIZE]; -- cgit v1.1