mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 20:49:43 +00:00
2002-08-02 Andrew Cagney <cagney@redhat.com>
* regcache.c (regcache_cooked_read): Rename rawnum parameter to regnum. (regcache_cooked_write): Ditto.
This commit is contained in:
parent
68365089fc
commit
29e1842b36
@ -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.
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user