On Wed, Oct 12, 2011 at 7:05 PM, Tom Tromey wrote: >>>>>> "Kevin" == Kevin Pouget writes: > >>> Why not use the supplied gdb constants in this case?  "2" does not map >>> to any enum. >>> IE gdb.FRAME_UNWIND_NO_REASON > > Kevin> it looks like these enums are not documented, are they? I can't grep > Kevin> 'FRAME_UNWIND_NO_REASON' in gdb.texinfo > > Yeah, we should document those. > I filed: http://sourceware.org/bugzilla/show_bug.cgi?id=13285 > > Tom Hello, I've prepared a bit of documentation for these named constants, based on their comments in the source code. The concept of frame ID (struct frame_id) is not exposed in the Python interface, but I'm not sure that the constants could be explained without this idea. Thanks, Kevin 2011-10-13 Kevin Pouget PR python/13285 Document named constants for frame unwind stop reasons * gdb.texinfo (Frames In Python): Document gdb.FRAME_UNWIND_* constants.