get_prev_frame, stop_reason != UNWIND_NO_REASON, add frame debug output.
authorPedro Alves <palves@redhat.com>
Thu, 28 Nov 2013 18:09:41 +0000 (18:09 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 28 Nov 2013 18:09:41 +0000 (18:09 +0000)
commita7300869806e7586189dc0f46c41c5773fe3ae16
tree8babc860a79e5686f41fe6b0a1211adffb777c39
parent50fd528a13ff8a6131ead1b2635fa8a8cf828d80
get_prev_frame, stop_reason != UNWIND_NO_REASON, add frame debug output.

The stop_reason != UNWIND_NO_REASON doesn't currently have "set debug
frame" output.  This patch makes it print the stop_reason enum value
as a string.

gdb/
2013-11-28  Pedro Alves  <palves@redhat.com>

* frame.c (get_prev_frame_1) <stop_reason != UNWIND_NO_REASON>:
Add "set debug frame" output.
(frame_stop_reason_symbol_string): New function.
gdb/ChangeLog
gdb/frame.c