aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-linux-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-10-30 23:08:18 +0000
committerAndrew Cagney <cagney@redhat.com>2004-10-30 23:08:18 +0000
commit607fc93c5df0e62dc803b98bee71e464557aa07a (patch)
tree16bbc6d20572e5202a87fe3da0bda107ccd51400 /gdb/mips-linux-tdep.c
parentaeab9e265fbff8317bb0e19d1e67a8b17e983290 (diff)
downloadgdb-607fc93c5df0e62dc803b98bee71e464557aa07a.zip
gdb-607fc93c5df0e62dc803b98bee71e464557aa07a.tar.gz
gdb-607fc93c5df0e62dc803b98bee71e464557aa07a.tar.bz2
2004-10-30 Andrew Cagney <cagney@gnu.org>
* mips-tdep.h (MIPS_FIRST_EMBED_REGNUM) (MIPS_LAST_EMBED_REGNUM): Add. * config/mips/tm-mips.h (FIRST_EMBED_REGNUM) (LAST_EMBED_REGNUM): Delete. * mipsv4-nat.c, mips-tdep.c, mips-linux-tdep.c: Update.
Diffstat (limited to 'gdb/mips-linux-tdep.c')
-rw-r--r--gdb/mips-linux-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mips-linux-tdep.c b/gdb/mips-linux-tdep.c
index 60c62ca..6cb9c5e 100644
--- a/gdb/mips-linux-tdep.c
+++ b/gdb/mips-linux-tdep.c
@@ -130,7 +130,7 @@ supply_gregset (elf_gregset_t *gregsetp)
/* Fill inaccessible registers with zero. */
regcache_raw_supply (current_regcache, MIPS_UNUSED_REGNUM, zerobuf);
- for (regi = FIRST_EMBED_REGNUM; regi < LAST_EMBED_REGNUM; regi++)
+ for (regi = MIPS_FIRST_EMBED_REGNUM; regi < MIPS_LAST_EMBED_REGNUM; regi++)
regcache_raw_supply (current_regcache, regi, zerobuf);
}
@@ -409,7 +409,7 @@ mips64_supply_gregset (mips64_elf_gregset_t *gregsetp)
/* Fill inaccessible registers with zero. */
regcache_raw_supply (current_regcache, MIPS_UNUSED_REGNUM, zerobuf);
- for (regi = FIRST_EMBED_REGNUM; regi < LAST_EMBED_REGNUM; regi++)
+ for (regi = MIPS_FIRST_EMBED_REGNUM; regi < MIPS_LAST_EMBED_REGNUM; regi++)
regcache_raw_supply (current_regcache, regi, zerobuf);
}