diff options
author | Yao Qi <yao@codesourcery.com> | 2014-11-28 15:19:12 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-12-12 08:46:25 +0800 |
commit | f303bc3e6ca29f0413376e38164dc5cdc0893d4b (patch) | |
tree | cc07c14344717252229db9bba5ca43d38b8b1885 /gdb/p-lang.c | |
parent | 65840e31a7a7cd64c81ac47bcb17319536ce3ba2 (diff) | |
download | binutils-f303bc3e6ca29f0413376e38164dc5cdc0893d4b.zip binutils-f303bc3e6ca29f0413376e38164dc5cdc0893d4b.tar.gz binutils-f303bc3e6ca29f0413376e38164dc5cdc0893d4b.tar.bz2 |
Don't scan prologue past epilogue
This patch is to stop prologue analysis past epilogue in for arm mode,
while we've already had done the same to thumb mode (see
thumb_instruction_restores_sp). This is useful to parse functions
with empty body (epilogue follows prologue).
gdb:
2014-12-12 Yao Qi <yao@codesourcery.com>
* arm-tdep.c (arm_instruction_restores_sp): New function.
(arm_analyze_prologue): Call arm_instruction_restores_sp.
(arm_in_function_epilogue_p): Move code to
arm_instruction_restores_sp.
Diffstat (limited to 'gdb/p-lang.c')
0 files changed, 0 insertions, 0 deletions