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 | |
parent | 68365089fc7e8091f6b10a724a499f0e405721d4 (diff) | |
download | fsf-binutils-gdb-29e1842b3697f3e2e4f5b1b31895754fd1426781.zip fsf-binutils-gdb-29e1842b3697f3e2e4f5b1b31895754fd1426781.tar.gz fsf-binutils-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')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/regcache.c | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6928244..faea260 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. 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); |