GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
gdb.command.pretty_printers.EnablePrettyPrinter Class Reference
Inheritance diagram for gdb.command.pretty_printers.EnablePrettyPrinter:

Public Member Functions

 __init__ (self)
 
 invoke (self, arg, from_tty)
 
 __init__ (self)
 
 invoke (self, arg, from_tty)
 

Detailed Description

GDB command to enable the specified pretty-printer.

Usage: enable pretty-printer [OBJECT-REGEXP [NAME-REGEXP]]

OBJECT-REGEXP is a regular expression matching the objects to examine.
Objects are "global", the program space's file, and the objfiles within
that program space.

NAME-REGEXP matches the name of the pretty-printer.
Individual printers in a collection are named as
printer-name;subprinter-name.

Definition at line 342 of file pretty_printers.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

gdb.command.pretty_printers.EnablePrettyPrinter.__init__ ( self)

◆ __init__() [2/2]

gdb.command.pretty_printers.EnablePrettyPrinter.__init__ ( self)

Member Function Documentation

◆ invoke() [1/2]

gdb.command.pretty_printers.EnablePrettyPrinter.invoke ( self,
arg,
from_tty )
GDB calls this to perform the command.

Definition at line 360 of file pretty_printers.py.

References gdb.command.pretty_printers.do_enable_pretty_printer().

◆ invoke() [2/2]

gdb.command.pretty_printers.EnablePrettyPrinter.invoke ( self,
arg,
from_tty )
GDB calls this to perform the command.

Definition at line 360 of file pretty_printers.py.

References gdb.command.pretty_printers.do_enable_pretty_printer().


The documentation for this class was generated from the following files: