diff options
author | Joel Brobecker <brobecker@gnat.com> | 2004-09-01 18:55:17 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2004-09-01 18:55:17 +0000 |
commit | 4fbbbd0782656c03df124a2398b01afbc6d6fa44 (patch) | |
tree | 42093cf6da26dabacc6c5f7df7f409fb208f3bdd /gdb/mips-tdep.c | |
parent | c72b934c3ae329d571efeea70844c485a33435a3 (diff) | |
download | gdb-4fbbbd0782656c03df124a2398b01afbc6d6fa44.zip gdb-4fbbbd0782656c03df124a2398b01afbc6d6fa44.tar.gz gdb-4fbbbd0782656c03df124a2398b01afbc6d6fa44.tar.bz2 |
* mips-tdep.c (mips_mdebug_frame_cache): Minor reformatting.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index e02202c..99718a7 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) { |