frame, cfa: check unwind stop reason first
authorMarkus Metzger <markus.t.metzger@intel.com>
Mon, 18 Mar 2013 15:43:05 +0000 (16:43 +0100)
committerMarkus Metzger <markus.t.metzger@intel.com>
Thu, 16 Jan 2014 12:06:11 +0000 (13:06 +0100)
commit32261e523447cdecdfffe93807ac9bd0de3fe88d
treec45272423433ef0836d18ddcba7570cb64c124be
parentea001bdce2a4442eb556c64514c8ec2473f4c4d1
frame, cfa: check unwind stop reason first

Swap the unwind stop reason check and the unwinder check to allow
non-dwarf2 frame types to fail with a recoverable error.

gdb/
2013-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>

* dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
earlier.
gdb/ChangeLog
gdb/dwarf2-frame.c