diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-07-24 14:38:55 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-07-24 14:38:55 +0000 |
commit | 0818c12a55c2aba820b8f7c7774bcdc698b757ee (patch) | |
tree | 5346d40767be9a40d5a1971944d6a444ecbb036e /gdb/regcache.c | |
parent | bf4f22e6a631c7c4c824f6aa3e1ca79755573088 (diff) | |
download | gdb-0818c12a55c2aba820b8f7c7774bcdc698b757ee.zip gdb-0818c12a55c2aba820b8f7c7774bcdc698b757ee.tar.gz gdb-0818c12a55c2aba820b8f7c7774bcdc698b757ee.tar.bz2 |
2002-07-24 Andrew Cagney <cagney@redhat.com>
* regcache.h (regcache_raw_read, regcache_raw_write): Replace
regcache_read and regcache_write.
(regcache_raw_read_as_address): Replace regcache_read_as_address.
* regcache.c: Update.
* sh-tdep.c (sh64_push_arguments): Update comment.
(sh_pseudo_register_read): Update.
(sh_pseudo_register_write): Update.
(sh4_register_read): Update.
(sh4_register_write): Update.
(sh64_pseudo_register_read): Update.
(sh64_pseudo_register_write): Update.
(sh64_register_read): Update.
(sh64_register_write): Update.
* i386-tdep.c (i386_extract_return_value): Update.
(i386_extract_struct_value_address): Update.
(i386_extract_return_value): Update.
* blockframe.c (generic_read_register_dummy): Update.
(generic_call_dummy_register_unwind): Update
* infrun.c (write_inferior_status_register): Update.
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r-- | gdb/regcache.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c index 6927f3e..4f21942 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -312,8 +312,8 @@ regcache_cpy (struct regcache *dst, struct regcache *src) for (i = 0; i < src->descr->nr_raw_registers; i++) { /* Should we worry about the valid bit here? */ - regcache_read (src, i, buf); - regcache_write (dst, i, buf); + regcache_raw_read (src, i, buf); + regcache_raw_write (dst, i, buf); } } @@ -362,13 +362,13 @@ regcache_valid_p (struct regcache *regcache, int regnum) } CORE_ADDR -regcache_read_as_address (struct regcache *regcache, int regnum) +regcache_raw_read_as_address (struct regcache *regcache, int regnum) { char *buf; gdb_assert (regcache != NULL); gdb_assert (regnum >= 0 && regnum < regcache->descr->nr_raw_registers); buf = alloca (regcache->descr->sizeof_register[regnum]); - regcache_read (regcache, regnum, buf); + regcache_raw_read (regcache, regnum, buf); return extract_address (buf, regcache->descr->sizeof_register[regnum]); } @@ -671,7 +671,7 @@ legacy_read_register_gen (int regnum, char *myaddr) } void -regcache_read (struct regcache *regcache, int regnum, char *buf) +regcache_raw_read (struct regcache *regcache, int regnum, char *buf) { gdb_assert (regcache != NULL && buf != NULL); gdb_assert (regnum >= 0 && regnum < regcache->descr->nr_raw_registers); @@ -761,7 +761,7 @@ legacy_write_register_gen (int regnum, char *myaddr) } void -regcache_write (struct regcache *regcache, int regnum, char *buf) +regcache_raw_write (struct regcache *regcache, int regnum, char *buf) { gdb_assert (regcache != NULL && buf != NULL); gdb_assert (regnum >= 0 && regnum < regcache->descr->nr_raw_registers); |