summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorkpouget <kpouget>2011-10-27 11:04:25 +0000
committerkpouget <kpouget>2011-10-27 11:04:25 +0000
commit2ac83145862aad11f7cb29415375b188cbb6ff30 (patch)
tree94384c1be500634bbc16c80f7e8d56dcc1ce9067 /cpu
parent57ff7a6e9ad86330f4717332eecdadbc0f0d4a89 (diff)
downloadgdb-2ac83145862aad11f7cb29415375b188cbb6ff30.tar.gz
Move unwind reasons to an external .def file
gdb/ * frame.c (frame_stop_reason_string): Rewrite using unwind_stop_reasons.def. * frame.h (enum unwind_stop_reason): Likewise. * python/py-frame.c (gdbpy_initialize_frames): Likewise. (gdbpy_frame_stop_reason_string): Use new enum unwind_stop_reason constants for bound-checking. * unwind_stop_reasons.def: New file. * stack.c (backtrace_command_1): Handle UNWIND_FIRST_ERROR as an alias instead of a distinct value. doc/ * gdb.texinfo ((Frames In Python): Document gdb.FRAME_UNWIND_FIRST_ERROR contant.
Diffstat (limited to 'cpu')
0 files changed, 0 insertions, 0 deletions