diff options
Diffstat (limited to 'gdb/rl78-tdep.c')
-rw-r--r-- | gdb/rl78-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/rl78-tdep.c b/gdb/rl78-tdep.c index acd36c2..2323276 100644 --- a/gdb/rl78-tdep.c +++ b/gdb/rl78-tdep.c @@ -616,7 +616,7 @@ check_for_saved (void *result_untyped, pv_t addr, CORE_ADDR size, if (value.kind == pvk_register && value.k == 0 && pv_is_register (addr, RL78_SP_REGNUM) - && size == register_size (target_gdbarch, value.reg)) + && size == register_size (target_gdbarch (), value.reg)) result->reg_offset[value.reg] = addr.k; } @@ -643,7 +643,7 @@ rl78_analyze_prologue (CORE_ADDR start_pc, result->reg_offset[rn] = 1; } - stack = make_pv_area (RL78_SP_REGNUM, gdbarch_addr_bit (target_gdbarch)); + stack = make_pv_area (RL78_SP_REGNUM, gdbarch_addr_bit (target_gdbarch ())); back_to = make_cleanup_free_pv_area (stack); /* The call instruction has saved the return address on the stack. */ |