vagd.gdb.printing ================= .. py:module:: vagd.gdb.printing Classes ------- .. autoapisummary:: vagd.gdb.printing.PrettyPrinter vagd.gdb.printing.SubPrettyPrinter vagd.gdb.printing.RegexpCollectionPrettyPrinter vagd.gdb.printing.FlagEnumerationPrinter Functions --------- .. autoapisummary:: vagd.gdb.printing.register_pretty_printer Module Contents --------------- .. py:class:: PrettyPrinter(name: str, subprinters: collections.abc.Iterable[SubPrettyPrinter] | None = ...) .. py:attribute:: name :type: str .. py:attribute:: subprinters :type: list[SubPrettyPrinter] | None .. py:attribute:: enabled :type: bool .. py:method:: __call__(val: gdb.Value) -> gdb._PrettyPrinter | None .. py:class:: SubPrettyPrinter(name: str) .. py:attribute:: name :type: str .. py:attribute:: enabled :type: bool .. py:class:: RegexpCollectionPrettyPrinter(name: str) Bases: :py:obj:`PrettyPrinter` .. py:method:: add_printer(name: str, regexp: str, gen_printer: gdb._PrettyPrinterLookupFunction) -> None .. py:class:: FlagEnumerationPrinter(enum_type: str) Bases: :py:obj:`PrettyPrinter` .. py:function:: register_pretty_printer(obj: gdb.Objfile | gdb.Progspace | None, printer: PrettyPrinter | collections.abc.Callable[[gdb.Value], gdb._PrettyPrinter | None], replace: bool = ...) -> None