Unwinder class and register_unwinder function.
gdb.unwinder.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
Definition at line 98 of file unwinder.py.