GDB (API)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Static Public Member Functions
gdb.command.pretty_printers.InfoPrettyPrinter Class Reference

List of all members.

Public Member Functions

def __init__
def list_pretty_printers
def invoke1
def invoke
def __init__
def list_pretty_printers
def invoke1
def invoke

Static Public Member Functions

def enabled_string
def printer_name
def enabled_string
def printer_name

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

Definition at line 98 of file pretty_printers.py.

Definition at line 98 of file pretty_printers.py.


Member Function Documentation

Return "" if PRINTER is enabled, otherwise " [disabled]".

Definition at line 103 of file pretty_printers.py.

Return "" if PRINTER is enabled, otherwise " [disabled]".

Definition at line 103 of file pretty_printers.py.

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

Definition at line 152 of file pretty_printers.py.

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

Definition at line 152 of file pretty_printers.py.

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 145 of file pretty_printers.py.

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 145 of file pretty_printers.py.

def gdb.command.pretty_printers.InfoPrettyPrinter.list_pretty_printers (   self,
  pretty_printers,
  name_re,
  subname_re 
)
Print a list of pretty-printers.

Definition at line 123 of file pretty_printers.py.

def gdb.command.pretty_printers.InfoPrettyPrinter.list_pretty_printers (   self,
  pretty_printers,
  name_re,
  subname_re 
)
Print a list of pretty-printers.

Definition at line 123 of file pretty_printers.py.

Return the printer's name.

Definition at line 111 of file pretty_printers.py.

Return the printer's name.

Definition at line 111 of file pretty_printers.py.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines