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 /gdb/arm-tdep.c | |
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.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) |