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.
This commit is contained in:
parent
aeab9e265f
commit
607fc93c5d
6 changed files with 13 additions and 13 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue