From 4fbbbd0782656c03df124a2398b01afbc6d6fa44 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Wed, 1 Sep 2004 18:55:17 +0000 Subject: [PATCH] * mips-tdep.c (mips_mdebug_frame_cache): Minor reformatting. --- gdb/ChangeLog | 4 ++++ gdb/mips-tdep.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a23a522864..297d574de1 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 e02202cc93..99718a76cf 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) {