summaryrefslogtreecommitdiff
path: root/gdb/alpha-mdebug-tdep.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-06-04 16:44:29 +0000
committerRichard Henderson <rth@redhat.com>2003-06-04 16:44:29 +0000
commitae54903491eab924fb1b0af8a6d28e855dbb5867 (patch)
treed64d2516e03bf97fbbc3d0671e38e9105ae205f4 /gdb/alpha-mdebug-tdep.c
parent28d9f453dfdb67b289f76adf789f7bd6b8b7b96f (diff)
downloadgdb-ae54903491eab924fb1b0af8a6d28e855dbb5867.tar.gz
* alpha-tdep.c (alpha_next_pc): Use alpha_read_insn.
(alpha_sigtramp_frame_this_id): Use get_frame_memory. (alpha_sigtramp_frame_prev_register): Likewise. (alpha_heuristic_frame_prev_register): Likewise. * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise.
Diffstat (limited to 'gdb/alpha-mdebug-tdep.c')
-rw-r--r--gdb/alpha-mdebug-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/alpha-mdebug-tdep.c b/gdb/alpha-mdebug-tdep.c
index 520656b455b..d481986b8c3 100644
--- a/gdb/alpha-mdebug-tdep.c
+++ b/gdb/alpha-mdebug-tdep.c
@@ -275,7 +275,7 @@ alpha_mdebug_frame_prev_register (struct frame_info *next_frame,
*addrp = info->saved_regs[regnum];
*realnump = -1;
if (bufferp != NULL)
- read_memory (*addrp, bufferp, ALPHA_REGISTER_SIZE);
+ get_frame_memory (next_frame, *addrp, bufferp, ALPHA_REGISTER_SIZE);
return;
}