GDB (xrefs)
Loading...
Searching...
No Matches
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

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

Static Public Member Functions

 enabled_string (printer)
 
 printer_name (printer)
 
 enabled_string (printer)
 
 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

◆ __init__() [1/2]

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

◆ __init__() [2/2]

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

Member Function Documentation

◆ enabled_string() [1/2]

gdb.command.pretty_printers.InfoPrettyPrinter.enabled_string ( printer)
static

◆ enabled_string() [2/2]

gdb.command.pretty_printers.InfoPrettyPrinter.enabled_string ( printer)
static

◆ invoke() [1/2]

gdb.command.pretty_printers.InfoPrettyPrinter.invoke ( self,
arg,
from_tty )

◆ invoke() [2/2]

gdb.command.pretty_printers.InfoPrettyPrinter.invoke ( self,
arg,
from_tty )

◆ invoke1() [1/2]

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

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

Referenced by gdb.command.pretty_printers.InfoPrettyPrinter.invoke().

◆ invoke1() [2/2]

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

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

Referenced by gdb.command.pretty_printers.InfoPrettyPrinter.invoke().

◆ list_pretty_printers() [1/2]

gdb.command.pretty_printers.InfoPrettyPrinter.list_pretty_printers ( self,
pretty_printers,
name_re,
subname_re )

◆ list_pretty_printers() [2/2]

gdb.command.pretty_printers.InfoPrettyPrinter.list_pretty_printers ( self,
pretty_printers,
name_re,
subname_re )

◆ printer_name() [1/2]

gdb.command.pretty_printers.InfoPrettyPrinter.printer_name ( printer)
static
Return the printer's name.

Definition at line 109 of file pretty_printers.py.

Referenced by gdb.command.pretty_printers.InfoPrettyPrinter.list_pretty_printers().

◆ printer_name() [2/2]

gdb.command.pretty_printers.InfoPrettyPrinter.printer_name ( printer)
static
Return the printer's name.

Definition at line 109 of file pretty_printers.py.

Referenced by gdb.command.pretty_printers.InfoPrettyPrinter.list_pretty_printers().


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