NAME gdb.unwinder - Unwinder class and register_unwinder function. CLASSES builtins.object Unwinder class Unwinder(builtins.object) | 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. | | Methods defined here: | | __call__(self, pending_frame) | GDB calls this method to unwind a frame. | | Arguments: | pending_frame: gdb.PendingFrame instance. | | Returns: | gdb.UnwindInfo instance. | | __init__(self, name) | Constructor. | | Args: | name: An identifying name for the unwinder. | | ---------------------------------------------------------------------- | Data descriptors defined here: | | __dict__ | dictionary for instance variables (if defined) | | __weakref__ | list of weak references to the object (if defined) FUNCTIONS register_unwinder(locus, unwinder, replace=False) Register unwinder in given locus. The unwinder is prepended to the locus's unwinders list. Unwinder name should be unique. Arguments: locus: Either an objfile, progspace, or None (in which case the unwinder is registered globally). unwinder: An object of a gdb.Unwinder subclass replace: If True, replaces existing unwinder with the same name. Otherwise, raises exception if unwinder with the same name already exists. Returns: Nothing. Raises: RuntimeError: Unwinder name is not unique TypeError: Bad locus type FILE /opt/gsrc/packages/gdb-7.11.1/share/gdb/python/gdb/unwinder.py