From 29e1842b3697f3e2e4f5b1b31895754fd1426781 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 2 Aug 2002 19:06:21 +0000 Subject: [PATCH] 2002-08-02 Andrew Cagney * regcache.c (regcache_cooked_read): Rename rawnum parameter to regnum. (regcache_cooked_write): Ditto. --- gdb/ChangeLog | 6 ++++++ gdb/regcache.c | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6928244334..faea260049 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 70af8f093b..49bafa7217 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);