2002-08-02 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Fri, 2 Aug 2002 19:06:21 +0000 (19:06 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 2 Aug 2002 19:06:21 +0000 (19:06 +0000)
* regcache.c (regcache_cooked_read): Rename rawnum parameter to
regnum.
(regcache_cooked_write): Ditto.

gdb/ChangeLog
gdb/regcache.c

index 69282443349538241b8063fd70fad9d4ee88d1aa..faea2600490d3c751aff8957cf97742b62864689 100644 (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.
index 70af8f093bdaa2a21db2c30e96c0bc0da1ad5e89..49bafa72175192656e06b61081700cf39a9c36ed 100644 (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);