aboutsummaryrefslogtreecommitdiff
path: root/gdb/blockframe.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/blockframe.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/blockframe.c')
-rw-r--r--gdb/blockframe.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index 25bc000..93a4765 100644
--- a/gdb/blockframe.c
+++ b/gdb/blockframe.c
@@ -1215,7 +1215,7 @@ generic_read_register_dummy (CORE_ADDR pc, CORE_ADDR fp, int regno)
struct regcache *dummy_regs = generic_find_dummy_frame (pc, fp);
if (dummy_regs)
- return regcache_read_as_address (dummy_regs, regno);
+ return regcache_raw_read_as_address (dummy_regs, regno);
else
return 0;
}
@@ -1393,7 +1393,7 @@ generic_call_dummy_register_unwind (struct frame_info *frame, void **cache,
gdbarch_register_read() method so that it, on the fly,
constructs either a raw or pseudo register from the raw
register cache. */
- regcache_read (registers, regnum, bufferp);
+ regcache_raw_read (registers, regnum, bufferp);
}
}
@@ -1543,8 +1543,9 @@ generic_get_saved_register (char *raw_buffer, int *optimized, CORE_ADDR *addrp,
gdbarch_register_read() method so that it, on the fly,
constructs either a raw or pseudo register from the raw
register cache. */
- regcache_read (generic_find_dummy_frame (frame->pc, frame->frame),
- regnum, raw_buffer);
+ regcache_raw_read (generic_find_dummy_frame (frame->pc,
+ frame->frame),
+ regnum, raw_buffer);
return;
}