diff options
author | Tom Tromey <tromey@redhat.com> | 2011-01-06 18:34:16 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-01-06 18:34:16 +0000 |
commit | ccfc3d6e06d5b9d2ebd8b8e4239f1313e33f40ac (patch) | |
tree | fcf41155ad132bb1f1b11f09be91406aacbb1114 /gdb/doc/gdb.texinfo | |
parent | 57126e4a45e3000ea9aa429da6a4ee4646606a3a (diff) | |
download | gdb-ccfc3d6e06d5b9d2ebd8b8e4239f1313e33f40ac.zip gdb-ccfc3d6e06d5b9d2ebd8b8e4239f1313e33f40ac.tar.gz gdb-ccfc3d6e06d5b9d2ebd8b8e4239f1313e33f40ac.tar.bz2 |
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.
Diffstat (limited to 'gdb/doc/gdb.texinfo')
-rw-r--r-- | gdb/doc/gdb.texinfo | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 8eb1ec8..f6a3747 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -22536,9 +22536,30 @@ obtained. @end defmethod @defmethod Frame type -Returns the type of the frame. The value can be one of -@code{gdb.NORMAL_FRAME}, @code{gdb.DUMMY_FRAME}, @code{gdb.SIGTRAMP_FRAME} -or @code{gdb.SENTINEL_FRAME}. +Returns the type of the frame. The value can be one of: +@table @code +@item gdb.NORMAL_FRAME +An ordinary stack frame. + +@item gdb.DUMMY_FRAME +A fake stack frame that was created by @value{GDBN} when performing an +inferior function call. + +@item gdb.INLINE_FRAME +A frame representing an inlined function. The function was inlined +into a @code{gdb.NORMAL_FRAME} that is older than this one. + +@item gdb.SIGTRAMP_FRAME +A signal trampoline frame. This is the frame created by the OS when +it calls into a signal handler. + +@item gdb.ARCH_FRAME +A fake stack frame representing a cross-architecture call. + +@item gdb.SENTINEL_FRAME +This is like @code{gdb.NORMAL_FRAME}, but it is only used for the +newest frame. +@end table @end defmethod @defmethod Frame unwind_stop_reason |