From: Joel Brobecker Date: Wed, 1 Sep 2004 18:55:17 +0000 (+0000) Subject: * mips-tdep.c (mips_mdebug_frame_cache): Minor reformatting. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4fbbbd0782656c03df124a2398b01afbc6d6fa44;p=binutils-gdb.git * mips-tdep.c (mips_mdebug_frame_cache): Minor reformatting. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a23a522864f..297d574de1a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2004-09-01 Joel Brobecker + + * mips-tdep.c (mips_mdebug_frame_cache): Minor reformatting. + 2004-09-01 Jeff Johnston * observer.sh: Add struct so_list declaration. diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index e02202cc937..99718a76cfb 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -1616,9 +1616,9 @@ mips_mdebug_frame_cache (struct frame_info *next_frame, void **this_cache) /* Fill in the offsets for the registers which gen_mask says were saved. */ { - CORE_ADDR reg_position = (cache->base - + PROC_REG_OFFSET (proc_desc)); + CORE_ADDR reg_position = (cache->base + PROC_REG_OFFSET (proc_desc)); int ireg; + for (ireg = MIPS_NUMREGS - 1; gen_mask; --ireg, gen_mask <<= 1) if (gen_mask & 0x80000000) {