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/ChangeLog | |
parent | 65840e31a7a7cd64c81ac47bcb17319536ce3ba2 (diff) | |
download | gdb-f303bc3e6ca29f0413376e38164dc5cdc0893d4b.zip gdb-f303bc3e6ca29f0413376e38164dc5cdc0893d4b.tar.gz gdb-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/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bdbe56b..c444ce7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +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. + 2014-12-11 Doug Evans <xdje42@gmail.com> * cp-namespace.c (cp_lookup_nested_symbol): Fix comments. |