2002-08-02 Andrew Cagney <cagney@redhat.com>

* regcache.c (regcache_cooked_read): Rename rawnum parameter to
regnum.
(regcache_cooked_write): Ditto.
This commit is contained in:
Andrew Cagney 2002-08-02 19:06:21 +00:00
parent 68365089fc
commit 29e1842b36
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2002-08-02 Andrew Cagney <cagney@redhat.com>
* regcache.c (regcache_cooked_read): Rename rawnum parameter to
regnum.
(regcache_cooked_write): Ditto.
2002-08-02 Andrew Cagney <ac131313@redhat.com>
* regcache.c (regcache_cooked_read): New function.

View File

@ -723,7 +723,7 @@ read_register_gen (int regnum, char *buf)
}
void
regcache_cooked_read (struct regcache *regcache, int rawnum, void *buf)
regcache_cooked_read (struct regcache *regcache, int regnum, void *buf)
{
gdb_assert (regnum >= 0);
gdb_assert (regnum < regcache->descr->nr_cooked_registers);
@ -843,8 +843,7 @@ write_register_gen (int regnum, char *buf)
}
void
regcache_cooked_write (struct regcache *regcache, int rawnum,
const void *buf)
regcache_cooked_write (struct regcache *regcache, int regnum, const void *buf)
{
gdb_assert (regnum >= 0);
gdb_assert (regnum < regcache->descr->nr_cooked_registers);