diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-08-02 19:06:21 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-08-02 19:06:21 +0000 |
commit | 29e1842b3697f3e2e4f5b1b31895754fd1426781 (patch) | |
tree | 9f76079cf1cc380312128a8a9d55afd7816b6dbe /gdb/regcache.c | |
parent | 68365089fc7e8091f6b10a724a499f0e405721d4 (diff) | |
download | gdb-29e1842b3697f3e2e4f5b1b31895754fd1426781.zip gdb-29e1842b3697f3e2e4f5b1b31895754fd1426781.tar.gz gdb-29e1842b3697f3e2e4f5b1b31895754fd1426781.tar.bz2 |
2002-08-02 Andrew Cagney <cagney@redhat.com>
* regcache.c (regcache_cooked_read): Rename rawnum parameter to
regnum.
(regcache_cooked_write): Ditto.
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r-- | gdb/regcache.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c index 70af8f0..49bafa7 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -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); |