gdb/
authorMeador Inge <meadori@sourceware.org>
Wed, 9 Nov 2011 00:53:40 +0000 (00:53 +0000)
committerMeador Inge <meadori@sourceware.org>
Wed, 9 Nov 2011 00:53:40 +0000 (00:53 +0000)
commit72a2e3dcf5c4dceb8e548d738b5373468d05655b
treed448b68f853b7b18de2815749705879fee3e3b88
parent6a12077df4f990359fe9dd97c419b05a169d7503
gdb/
* arm-tdep.c (thumb_analyze_prologue): Always fallback on the SP
register when the frame can't be determined.
* arm-tdep.c (arm_analyze_prologue): Ditto.

gdb/testsuite/
* gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
(switch_stack_to_other): New test function.
* gdb.arch/thumb-prologue.exp: New test cases.
gdb/ChangeLog
gdb/arm-tdep.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/thumb-prologue.c
gdb/testsuite/gdb.arch/thumb-prologue.exp