gdb.FrameIterator
index
/opt/gsrc/packages/gdb-7.11.1/share/gdb/python/gdb/FrameIterator.py

# Copyright (C) 2013-2016 Free Software Foundation, Inc.

 
Modules
       
gdb
itertools

 
Classes
       
builtins.object
FrameIterator

 
class FrameIterator(builtins.object)
    A gdb.Frame iterator.  Iterates over gdb.Frames or objects that
conform to that interface.
 
  Methods defined here:
__init__(self, frame_obj)
Initialize a FrameIterator.
 
Arguments:
    frame_obj the starting frame.
__iter__(self)
__next__(self)
# Python 3.x requires __next__(self) while Python 2.x requires
next(self).  Define next(self), and for Python 3.x create this
# wrapper.
next(self)
next implementation.
 
Returns:
    The next oldest frame.

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)