diff options
author | mgretton <mgretton> | 2012-06-25 12:32:42 +0000 |
---|---|---|
committer | mgretton <mgretton> | 2012-06-25 12:32:42 +0000 |
commit | 01d4295eeaef0b3034a6452625c8224ed14093c6 (patch) | |
tree | 8cf1d4c38bcb0ed6cd5e262bceb041964aede246 /gdb/arm-tdep.c | |
parent | 871539d8b8cde156587d078503dcae07de8bed43 (diff) | |
download | gdb-01d4295eeaef0b3034a6452625c8224ed14093c6.tar.gz |
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 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) |