Relax ARM prologue unwinder assumption
authorLuis Machado <lgustavo@codesourcery.com>
Tue, 10 Feb 2015 11:46:11 +0000 (09:46 -0200)
committerLuis Machado <lgustavo@codesourcery.com>
Tue, 10 Feb 2015 11:46:11 +0000 (09:46 -0200)
commitc1ee941477569693777617d2f5defbba21085216
tree9a8ebab92ebc5a378d4bda428fe55d4fba42ff12
parentf7de9aab902f68a79e83954d2645daf90f9eae33
Relax ARM prologue unwinder assumption

Modify the ARM prologue unwinder to use the stop_reason hook instead of
returning imprecise frame id's through the arm prologue this_id hook.

gdb/
2015-02-10  Luis Machado  <lgustavo@codesourcery.com>

* arm-tdep.c (arm_prologue_unwind_stop_reason): New function.
(arm_prologue_this_id): Move PC and SP limit checks to
arm_prologue_unwind_stop_reason.
(arm_prologue_unwind) <stop_reason> : Set to
arm_prologue_unwind_stop_reason.
gdb/ChangeLog
gdb/arm-tdep.c