diff options
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 933a224..9ea5a06 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -539,7 +539,7 @@ arm_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc) struct symtab_and_line sal; /* If we're in a dummy frame, don't even try to skip the prologue. */ - if (deprecated_pc_in_call_dummy (pc)) + if (deprecated_pc_in_call_dummy (gdbarch, pc)) return pc; /* See if we can determine the end of the prologue via the symbol table. @@ -547,7 +547,8 @@ arm_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc) is greater. */ if (find_pc_partial_function (pc, NULL, &func_addr, NULL)) { - CORE_ADDR post_prologue_pc = skip_prologue_using_sal (func_addr); + CORE_ADDR post_prologue_pc + = skip_prologue_using_sal (gdbarch, func_addr); if (post_prologue_pc != 0) return max (pc, post_prologue_pc); } @@ -559,7 +560,7 @@ arm_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc) information. If the debug information could not be used to provide that bound, then use an arbitrary large number as the upper bound. */ /* Like arm_scan_prologue, stop no later than pc + 64. */ - limit_pc = skip_prologue_using_sal (pc); + limit_pc = skip_prologue_using_sal (gdbarch, pc); if (limit_pc == 0) limit_pc = pc + 64; /* Magic. */ |