GDB (xrefs)
Public Member Functions | Public Attributes | List of all members
gdb.unwinder.Unwinder Class Reference
Inheritance diagram for gdb.unwinder.Unwinder:

Public Member Functions

def __init__ (self, name)
 
def __call__ (self, pending_frame)
 
def __init__ (self, name)
 
def __call__ (self, pending_frame)
 

Public Attributes

 name
 
 enabled
 

Detailed Description

Base class (or a template) for frame unwinders written in Python.

An unwinder has a single method __call__ and the attributes
described below.

Attributes:
    name: The name of the unwinder.
    enabled: A boolean indicating whether the unwinder is enabled.

Definition at line 21 of file unwinder.py.

Constructor & Destructor Documentation

def gdb.unwinder.Unwinder.__init__ (   self,
  name 
)
Constructor.

Args:
    name: An identifying name for the unwinder.

Definition at line 32 of file unwinder.py.

Referenced by gdb.unwinder.Unwinder.__init__().

def gdb.unwinder.Unwinder.__init__ (   self,
  name 
)

Member Function Documentation

def gdb.unwinder.Unwinder.__call__ (   self,
  pending_frame 
)
GDB calls this method to unwind a frame.

Arguments:
    pending_frame: gdb.PendingFrame instance.

Returns:
    gdb.UnwindInfo instance.

Definition at line 41 of file unwinder.py.

Referenced by gdb.unwinder.Unwinder.__call__().

def gdb.unwinder.Unwinder.__call__ (   self,
  pending_frame 
)
GDB calls this method to unwind a frame.

Arguments:
    pending_frame: gdb.PendingFrame instance.

Returns:
    gdb.UnwindInfo instance.

Definition at line 41 of file unwinder.py.

References gdb.unwinder.Unwinder.__call__(), and gdb.unwinder.register_unwinder().

Member Data Documentation

gdb.unwinder.Unwinder.enabled
gdb.unwinder.Unwinder.name

The documentation for this class was generated from the following file: