2012-06-25 Greta Yorsh <greta.yorsh@arm.com>

* gdb/arm-tdep.c (arm_in_function_epilogue_p): Recognize POP with a single
	register as a stack alignment in ARM mode.
This commit is contained in:
Matthew Gretton-Dann 2012-06-25 12:32:45 +00:00
parent 47e2e72998
commit fc51cce108
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
* arm-tdep.c (arm_in_function_epilogue_p): Recognize POP with a single
register as a stack alignment in ARM mode.
2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com> 2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
Update gnulib to GIT commit a39f53ccb70a613e647e1019fb4c63645220267e. Update gnulib to GIT commit a39f53ccb70a613e647e1019fb4c63645220267e.

View file

@ -3217,6 +3217,9 @@ arm_in_function_epilogue_p (struct gdbarch *gdbarch, CORE_ADDR pc)
else if ((insn & 0x0fff0000) == 0x08bd0000) else if ((insn & 0x0fff0000) == 0x08bd0000)
/* POP (LDMIA). */ /* POP (LDMIA). */
found_stack_adjust = 1; found_stack_adjust = 1;
else if ((insn & 0x0fff0000) == 0x049d0000)
/* POP of a single register. */
found_stack_adjust = 1;
} }
if (found_stack_adjust) if (found_stack_adjust)