* arm-tdep.c (arm_in_function_epilogue_p): Fix code when "MOV SP"

instruction is found.
This commit is contained in:
Pierre Muller 2010-11-18 16:38:20 +00:00
parent 69b70cfe69
commit 77bc06753c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-11-18 Pierre Muller <muller@ics.u-strasbg.fr>
* arm-tdep.c (arm_in_function_epilogue_p): Fix code when "MOV SP"
instruction is found.
2010-11-17 Tom Tromey <tromey@redhat.com>
* value.c (value_entirely_optimized_out): Check the

View File

@ -2245,7 +2245,7 @@ arm_in_function_epilogue_p (struct gdbarch *gdbarch, CORE_ADDR pc)
found_stack_adjust = 1;
else if ((insn & 0x0ffffff0) == 0x01a0d000)
/* MOV SP. */
found_return = 1;
found_stack_adjust = 1;
else if ((insn & 0x0fff0000) == 0x08bd0000)
/* POP (LDMIA). */
found_stack_adjust = 1;