diff options
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 2991ee7..228b972 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -411,7 +411,7 @@ thumb_analyze_prologue (struct gdbarch *gdbarch, sub fp, ip, #nn @@ nn == 20 or 4 depending on second insn */ static CORE_ADDR -arm_skip_prologue (CORE_ADDR pc) +arm_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc) { unsigned long inst; CORE_ADDR skip_pc; @@ -449,7 +449,7 @@ arm_skip_prologue (CORE_ADDR pc) /* Check if this is Thumb code. */ if (arm_pc_is_thumb (pc)) - return thumb_analyze_prologue (current_gdbarch, pc, func_end, NULL); + return thumb_analyze_prologue (gdbarch, pc, func_end, NULL); for (skip_pc = pc; skip_pc < func_end; skip_pc += 4) { |