On Fri, Oct 14, 2011 at 4:21 PM, Tom Tromey wrote: >>>>>> "Kevin" == Kevin Pouget writes: > > Kevin> include/gdb/ > Kevin> 2011-10-14  Kevin Pouget   > Kevin>  * unwind_stop_reasons.def: New file. > > Don't put it in include/gdb.  That is too obscure.  Just put this file > directly in the gdb directory along with everything else. > > Tom ok, I did it based on signals.def, but it's indeed not relevant here. I've updated the patch Thanks, Kevin 2011-10-14 Kevin Pouget * 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.