diff options
author | Matthew Gretton-Dann <matthew.gretton-dann@arm.com> | 2012-06-25 12:32:45 +0000 |
---|---|---|
committer | Matthew Gretton-Dann <matthew.gretton-dann@arm.com> | 2012-06-25 12:32:45 +0000 |
commit | fc51cce10868178fa7390ab1c5f384eda548f4d1 (patch) | |
tree | d3700f777bf978a3f3035f5565f0030aa22551ef | |
parent | 47e2e729981c9399ee4a28ec56c0484b2a014f49 (diff) | |
download | gdb-fc51cce10868178fa7390ab1c5f384eda548f4d1.zip gdb-fc51cce10868178fa7390ab1c5f384eda548f4d1.tar.gz gdb-fc51cce10868178fa7390ab1c5f384eda548f4d1.tar.bz2 |
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/arm-tdep.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b8f8582..fe013de 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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> Update gnulib to GIT commit a39f53ccb70a613e647e1019fb4c63645220267e. diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index df5dea7..568ace5 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) |