GDB (xrefs)
|
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) | |
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.
gdb.command.pretty_printers.InfoPrettyPrinter.__init__ | ( | self | ) |
Definition at line 97 of file pretty_printers.py.
References gdb.command.pretty_printers.InfoPrettyPrinter.__init__().
Referenced by gdb.command.pretty_printers.InfoPrettyPrinter.__init__().
gdb.command.pretty_printers.InfoPrettyPrinter.__init__ | ( | self | ) |
Definition at line 97 of file pretty_printers.py.
References gdb.command.pretty_printers.InfoPrettyPrinter.__init__().
|
static |
Return "" if PRINTER is enabled, otherwise " [disabled]".
Definition at line 101 of file pretty_printers.py.
References gdb.command.pretty_printers.printer_enabled_p().
Referenced by gdb.command.pretty_printers.InfoPrettyPrinter.list_pretty_printers(), and gdb.command.frame_filters.InfoFrameFilter.print_list().
|
static |
Return "" if PRINTER is enabled, otherwise " [disabled]".
Definition at line 101 of file pretty_printers.py.
References gdb.command.pretty_printers.printer_enabled_p().
Referenced by gdb.command.pretty_printers.InfoPrettyPrinter.list_pretty_printers(), and gdb.command.frame_filters.InfoFrameFilter.print_list().
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.
References gdb.command.pretty_printers.count_all_enabled_printers(), gdb.command.pretty_printers.count_enabled_printers(), gdb.current_progspace(), gdb.command.pretty_printers.do_enable_pretty_printer_1(), gdb.command.pretty_printers.InfoPrettyPrinter.invoke1(), gdb.objfiles(), gdb.command.pretty_printers.parse_printer_regexps(), gdb.command.pretty_printers.pluralize(), gdb.command.pretty_printers.printer_enabled_p(), and gdb.command.pretty_printers.show_pretty_printer_enabled_summary().
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.
References gdb.current_progspace(), gdb.command.pretty_printers.InfoPrettyPrinter.invoke1(), gdb.objfiles(), and gdb.command.pretty_printers.parse_printer_regexps().
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().
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().
gdb.command.pretty_printers.InfoPrettyPrinter.list_pretty_printers | ( | self, | |
pretty_printers, | |||
name_re, | |||
subname_re ) |
Print a list of pretty-printers.
Definition at line 121 of file pretty_printers.py.
References gdb.command.pretty_printers.InfoPrettyPrinter.enabled_string(), gdb.command.frame_filters.InfoFrameFilter.enabled_string(), and gdb.command.pretty_printers.InfoPrettyPrinter.printer_name().
Referenced by gdb.command.pretty_printers.InfoPrettyPrinter.invoke1().
gdb.command.pretty_printers.InfoPrettyPrinter.list_pretty_printers | ( | self, | |
pretty_printers, | |||
name_re, | |||
subname_re ) |
Print a list of pretty-printers.
Definition at line 121 of file pretty_printers.py.
References gdb.command.pretty_printers.InfoPrettyPrinter.enabled_string(), gdb.command.frame_filters.InfoFrameFilter.enabled_string(), and gdb.command.pretty_printers.InfoPrettyPrinter.printer_name().
Referenced by gdb.command.pretty_printers.InfoPrettyPrinter.invoke1().
|
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().
|
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().