Next: gdb.types, Up: Python modules
This module provides a collection of utilities for working with pretty-printers.
PrettyPrinter (
name,
subprinters=None)
SubPrettyPrinter (
name)
RegexpCollectionPrettyPrinter (
name)
FlagEnumerationPrinter (
name)
enum
values. Unlike
gdb's built-in enum
printing, this printer attempts to
work properly when there is some overlap between the enumeration
constants. The argument name is the name of the printer and
also the name of the enum
type to look up.
register_pretty_printer (
obj,
printer,
replace=False)
True
then any existing copy of the printer
is replaced. Otherwise a RuntimeError
exception is raised
if a printer with the same name already exists.