aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-07-24 14:38:55 +0000
committerAndrew Cagney <cagney@redhat.com>2002-07-24 14:38:55 +0000
commit0818c12a55c2aba820b8f7c7774bcdc698b757ee (patch)
tree5346d40767be9a40d5a1971944d6a444ecbb036e /gdb/i386-tdep.c
parentbf4f22e6a631c7c4c824f6aa3e1ca79755573088 (diff)
downloadgdb-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/i386-tdep.c')
-rw-r--r--gdb/i386-tdep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index 342a713..efdea9e 100644
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -962,7 +962,7 @@ i386_extract_return_value (struct type *type, struct regcache *regcache,
its contents to the desired type. This is probably not
exactly how it would happen on the target itself, but it is
the best we can do. */
- regcache_read (regcache, FP0_REGNUM, buf);
+ regcache_raw_read (regcache, FP0_REGNUM, buf);
convert_typed_floating (buf, builtin_type_i387_ext, valbuf, type);
}
else
@@ -972,14 +972,14 @@ i386_extract_return_value (struct type *type, struct regcache *regcache,
if (len <= low_size)
{
- regcache_read (regcache, LOW_RETURN_REGNUM, buf);
+ regcache_raw_read (regcache, LOW_RETURN_REGNUM, buf);
memcpy (valbuf, buf, len);
}
else if (len <= (low_size + high_size))
{
- regcache_read (regcache, LOW_RETURN_REGNUM, buf);
+ regcache_raw_read (regcache, LOW_RETURN_REGNUM, buf);
memcpy (valbuf, buf, low_size);
- regcache_read (regcache, HIGH_RETURN_REGNUM, buf);
+ regcache_raw_read (regcache, HIGH_RETURN_REGNUM, buf);
memcpy (valbuf + low_size, buf, len - low_size);
}
else
@@ -1066,7 +1066,7 @@ i386_store_return_value (struct type *type, char *valbuf)
static CORE_ADDR
i386_extract_struct_value_address (struct regcache *regcache)
{
- return regcache_read_as_address (regcache, LOW_RETURN_REGNUM);
+ return regcache_raw_read_as_address (regcache, LOW_RETURN_REGNUM);
}