From: Matthew Gretton-Dann Date: Mon, 25 Jun 2012 12:32:45 +0000 (+0000) Subject: 2012-06-25 Greta Yorsh X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fc51cce10868178fa7390ab1c5f384eda548f4d1;p=binutils-gdb.git 2012-06-25 Greta Yorsh * gdb/arm-tdep.c (arm_in_function_epilogue_p): Recognize POP with a single register as a stack alignment in ARM mode. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b8f8582b488..fe013dee4b0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-06-25 Greta Yorsh + + * 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 Update gnulib to GIT commit a39f53ccb70a613e647e1019fb4c63645220267e. diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index df5dea73ea0..568ace59396 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -3217,6 +3217,9 @@ arm_in_function_epilogue_p (struct gdbarch *gdbarch, CORE_ADDR pc) else if ((insn & 0x0fff0000) == 0x08bd0000) /* POP (LDMIA). */ found_stack_adjust = 1; + else if ((insn & 0x0fff0000) == 0x049d0000) + /* POP of a single register. */ + found_stack_adjust = 1; } if (found_stack_adjust)