GDB (xrefs)
Public Member Functions | Static Public Member Functions | List of all members
gdb.command.pretty_printers.InfoPrettyPrinter Class Reference
Inheritance diagram for gdb.command.pretty_printers.InfoPrettyPrinter:

Public Member Functions

def __init__ (self)
 
def list_pretty_printers (self, pretty_printers, name_re, subname_re)
 
def invoke1 (self, title, printer_list, obj_name_to_match, object_re, name_re, subname_re)
 
def invoke (self, arg, from_tty)
 
def __init__ (self)
 
def list_pretty_printers (self, pretty_printers, name_re, subname_re)
 
def invoke1 (self, title, printer_list, obj_name_to_match, object_re, name_re, subname_re)
 
def invoke (self, arg, from_tty)
 

Static Public Member Functions

def enabled_string (printer)
 
def printer_name (printer)
 
def enabled_string (printer)
 
def printer_name (printer)
 

Detailed Description

GDB command to list all registered pretty-printers.

Usage: info pretty-printer [object-regexp [name-regexp]]

OBJECT-REGEXP is a regular expression matching the objects to list.
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 84 of file pretty_printers.py.

Constructor & Destructor Documentation

def gdb.command.pretty_printers.InfoPrettyPrinter.__init__ (   self)
def gdb.command.pretty_printers.InfoPrettyPrinter.__init__ (   self)

Member Function Documentation

def gdb.command.pretty_printers.InfoPrettyPrinter.enabled_string (   printer)
static
def gdb.command.pretty_printers.InfoPrettyPrinter.enabled_string (   printer)
static
Return "" if PRINTER is enabled, otherwise " [disabled]".

Definition at line 103 of file pretty_printers.py.

References gdb.command.pretty_printers.InfoPrettyPrinter.enabled_string(), and gdb.command.pretty_printers.printer_enabled_p().

def gdb.command.pretty_printers.InfoPrettyPrinter.invoke (   self,
  arg,
  from_tty 
)
def gdb.command.pretty_printers.InfoPrettyPrinter.invoke (   self,
  arg,
  from_tty 
)
def gdb.command.pretty_printers.InfoPrettyPrinter.invoke1 (   self,
  title,
  printer_list,
  obj_name_to_match,
  object_re,
  name_re,
  subname_re 
)
Subroutine of invoke to simplify it.

Definition at line 146 of file pretty_printers.py.

References gdb.command.pretty_printers.InfoPrettyPrinter.list_pretty_printers().

def gdb.command.pretty_printers.InfoPrettyPrinter.invoke1 (   self,
  title,
  printer_list,
  obj_name_to_match,
  object_re,
  name_re,
  subname_re 
)
def gdb.command.pretty_printers.InfoPrettyPrinter.list_pretty_printers (   self,
  pretty_printers,
  name_re,
  subname_re 
)
def gdb.command.pretty_printers.InfoPrettyPrinter.list_pretty_printers (   self,
  pretty_printers,
  name_re,
  subname_re 
)
def gdb.command.pretty_printers.InfoPrettyPrinter.printer_name (   printer)
static
def gdb.command.pretty_printers.InfoPrettyPrinter.printer_name (   printer)
static
Return the printer's name.

Definition at line 111 of file pretty_printers.py.

References gdb.command.pretty_printers.InfoPrettyPrinter.printer_name().


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