aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2004-09-01 18:55:17 +0000
committerJoel Brobecker <brobecker@gnat.com>2004-09-01 18:55:17 +0000
commit4fbbbd0782656c03df124a2398b01afbc6d6fa44 (patch)
tree42093cf6da26dabacc6c5f7df7f409fb208f3bdd /gdb
parentc72b934c3ae329d571efeea70844c485a33435a3 (diff)
downloadgdb-4fbbbd0782656c03df124a2398b01afbc6d6fa44.zip
gdb-4fbbbd0782656c03df124a2398b01afbc6d6fa44.tar.gz
gdb-4fbbbd0782656c03df124a2398b01afbc6d6fa44.tar.bz2
* mips-tdep.c (mips_mdebug_frame_cache): Minor reformatting.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/mips-tdep.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a23a522..297d574 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2004-09-01 Joel Brobecker <brobecker@gnat.com>
+
+ * mips-tdep.c (mips_mdebug_frame_cache): Minor reformatting.
+
2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
* observer.sh: Add struct so_list declaration.
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)
{