[AArch64] Recognize STR instruction in prologue
authorYao Qi <yao.qi@linaro.org>
Fri, 2 Dec 2016 09:37:30 +0000 (09:37 +0000)
committerYao Qi <yao.qi@linaro.org>
Fri, 2 Dec 2016 09:37:30 +0000 (09:37 +0000)
commit432ec0814b01a93b88eddf13092ea6abef34652d
tree835707112faefa6cc567efbfdfcf0ce6500d5f9b
parent4d9a9006139d1ceea787cdda871dff8943e493f0
[AArch64] Recognize STR instruction in prologue

This patch teaches GDB AArch64 backend to recognize STR instructions
in prologue, like 'str x19, [sp, #-48]!' or 'str w0, [sp, #44]'.
The unit test is added too.

gdb:

2016-12-02  Yao Qi  <yao.qi@linaro.org>
    Pedro Alves  <palves@redhat.com>

* aarch64-tdep.c (aarch64_analyze_prologue): Recognize STR
instruction.
(aarch64_analyze_prologue_test): More tests.
gdb/ChangeLog
gdb/aarch64-tdep.c