summaryrefslogtreecommitdiff
path: root/gdb/tramp-frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tramp-frame.c')
-rw-r--r--gdb/tramp-frame.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/tramp-frame.c b/gdb/tramp-frame.c
index d047659913f..7a8057e85e1 100644
--- a/gdb/tramp-frame.c
+++ b/gdb/tramp-frame.c
@@ -65,7 +65,7 @@ tramp_frame_this_id (struct frame_info *next_frame,
{
struct trad_frame_cache *trad_cache
= tramp_frame_cache (next_frame, this_cache);
- (*this_id) = trad_cache->this_id;
+ trad_frame_get_id (trad_cache, this_id);
}
static void
@@ -79,8 +79,8 @@ tramp_frame_prev_register (struct frame_info *next_frame,
{
struct trad_frame_cache *trad_cache
= tramp_frame_cache (next_frame, this_cache);
- trad_frame_prev_register (next_frame, trad_cache->prev_regs, prev_regnum,
- optimizedp, lvalp, addrp, realnump, valuep);
+ trad_frame_get_register (trad_cache, next_frame, prev_regnum, optimizedp,
+ lvalp, addrp, realnump, valuep);
}
static CORE_ADDR