|
GDB (xrefs)
|
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 | |
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.
| 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 | |||
| ) |
Constructor.
Args:
name: An identifying name for the unwinder.
Definition at line 32 of file unwinder.py.
References gdb.unwinder.Unwinder.__init__(), gdb.unwinder.Unwinder.enabled, gdb.printing.PrettyPrinter.enabled, gdb.printing.SubPrettyPrinter.enabled, gdb.types.TypePrinter.enabled, bp_location.enabled, exsummary.Function.name, gdb.unwinder.Unwinder.name, gdb.printing.PrettyPrinter.name, cmd_list_element.name, subfile.name, name, gdb.printing.SubPrettyPrinter.name, gdb.types.TypePrinter.name, ada_task_info.name, context_stack.name, subfile_stack.name, aop_map.name, cache_entry.name, ada_exc_info.name, and loaded_script.name.
| 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().
| gdb.unwinder.Unwinder.enabled |
Definition at line 39 of file unwinder.py.
Referenced by gdb.unwinder.Unwinder.__init__(), gdb.xmethod.XMethod.__init__(), and gdb.xmethod.XMethodMatcher.__init__().
| gdb.unwinder.Unwinder.name |
Definition at line 38 of file unwinder.py.
Referenced by gdb.unwinder.Unwinder.__init__(), gdb.xmethod.XMethod.__init__(), and gdb.xmethod.XMethodMatcher.__init__().
1.8.10