The values for the type() method of gdb.Frame are undocumented. It is not clear what the difference between gdb.NORMAL_FRAME, gdb.DUMMY_FRAME, gdb.SIGTRAMP_FRAME and gdb.SENTINEL_FRAME are. The documentation in question can be found here: http://sourceware.org/gdb/onlinedocs/gdb/Frames-In-Python.html
Sent a patch.
CVSROOT: /cvs/src Module name: src Changes by: tromey@sourceware.org 2011-01-06 18:34:16 Modified files: gdb : ChangeLog frame.h gdb/doc : ChangeLog gdb.texinfo gdb/python : py-frame.c Log message: gdb * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment. * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME and ARCH_FRAME. gdb/doc PR python/12133: * gdb.texinfo (Frames In Python): Document various frame constants. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12436&r2=1.12437 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/frame.h.diff?cvsroot=src&r1=1.184&r2=1.185 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&r1=1.1133&r2=1.1134 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&r1=1.783&r2=1.784 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-frame.c.diff?cvsroot=src&r1=1.12&r2=1.13
I checked in a fix.