Bug 12133 - gdb.Frame.type()s are undocumented
Summary: gdb.Frame.type()s are undocumented
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: python (show other bugs)
Version: 7.2
: P2 normal
Target Milestone: 7.3
Assignee: Tom Tromey
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-18 20:29 UTC by Mark Florisson
Modified: 2011-01-06 18:34 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Florisson 2010-10-18 20:29:46 UTC
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
Comment 1 Tom Tromey 2011-01-05 19:57:48 UTC
Sent a patch.
Comment 2 Sourceware Commits 2011-01-06 18:34:20 UTC
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
Comment 3 Tom Tromey 2011-01-06 18:34:54 UTC
I checked in a fix.