From: Andrew Cagney Date: Fri, 2 Aug 2002 19:06:21 +0000 (+0000) Subject: 2002-08-02 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=29e1842b3697f3e2e4f5b1b31895754fd1426781;p=binutils-gdb.git 2002-08-02 Andrew Cagney * regcache.c (regcache_cooked_read): Rename rawnum parameter to regnum. (regcache_cooked_write): Ditto. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 69282443349..faea2600490 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2002-08-02 Andrew Cagney + + * regcache.c (regcache_cooked_read): Rename rawnum parameter to + regnum. + (regcache_cooked_write): Ditto. + 2002-08-02 Andrew Cagney * regcache.c (regcache_cooked_read): New function. diff --git a/gdb/regcache.c b/gdb/regcache.c index 70af8f093bd..49bafa72175 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);