This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch/ob] Fix param name tipo
- From: Andrew Cagney <ac131313 at ges dot redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 02 Aug 2002 15:12:22 -0400
- Subject: [patch/ob] Fix param name tipo
Oops, sorry,
committed,
Andrew
2002-08-02 Andrew Cagney <cagney@redhat.com>
* regcache.c (regcache_cooked_read): Rename rawnum parameter to
regnum.
(regcache_cooked_write): Ditto.
Index: regcache.c
===================================================================
RCS file: /cvs/src/src/gdb/regcache.c,v
retrieving revision 1.45
diff -u -r1.45 regcache.c
--- regcache.c 2 Aug 2002 18:08:31 -0000 1.45
+++ regcache.c 2 Aug 2002 19:04:48 -0000
@@ -723,7 +723,7 @@
}
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 @@
}
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);