GDB (xrefs)
|
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 |
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.
Definition at line 98 of file pretty_printers.py.
Referenced by gdb.command.pretty_printers.InfoPrettyPrinter.__init__().
Definition at line 98 of file pretty_printers.py.
References gdb.command.pretty_printers.InfoPrettyPrinter.__init__().
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.printer_enabled_p().
Referenced by gdb.command.pretty_printers.InfoPrettyPrinter.enabled_string(), and gdb.command.pretty_printers.InfoPrettyPrinter.list_pretty_printers().
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 | |||
) |
GDB calls this to perform the command.
Definition at line 152 of file pretty_printers.py.
References gdb.command.pretty_printers.InfoPrettyPrinter.invoke1(), and gdb::command::pretty_printers.parse_printer_regexps().
Referenced by gdb.command.pretty_printers.InfoPrettyPrinter.invoke().
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.
References gdb::command::pretty_printers.count_all_enabled_printers(), gdb::command::pretty_printers.count_enabled_printers(), gdb::command::pretty_printers.do_enable_pretty_printer(), gdb::command::pretty_printers.do_enable_pretty_printer_1(), gdb.command.pretty_printers.InfoPrettyPrinter.invoke(), gdb.command.pretty_printers.InfoPrettyPrinter.invoke1(), len, 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().
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.
References gdb.command.pretty_printers.InfoPrettyPrinter.invoke1(), and 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 | |||
) |
Subroutine of invoke to simplify it.
Definition at line 145 of file pretty_printers.py.
References gdb.command.pretty_printers.InfoPrettyPrinter.list_pretty_printers().
Referenced by gdb.command.pretty_printers.InfoPrettyPrinter.invoke(), and gdb.command.pretty_printers.InfoPrettyPrinter.invoke1().
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.
References gdb.command.frame_filters.InfoFrameFilter.enabled_string(), gdb.command.pretty_printers.InfoPrettyPrinter.enabled_string(), gdb.command.pretty_printers.InfoPrettyPrinter.list_pretty_printers(), and gdb.command.pretty_printers.InfoPrettyPrinter.printer_name().
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.
References gdb.command.frame_filters.InfoFrameFilter.enabled_string(), gdb.command.pretty_printers.InfoPrettyPrinter.enabled_string(), and gdb.command.pretty_printers.InfoPrettyPrinter.printer_name().
Referenced by gdb.command.pretty_printers.InfoPrettyPrinter.invoke1(), and gdb.command.pretty_printers.InfoPrettyPrinter.list_pretty_printers().
def gdb.command.pretty_printers.InfoPrettyPrinter.printer_name | ( | printer | ) | [static] |
Return the printer's name.
Definition at line 111 of file pretty_printers.py.
Referenced by gdb.command.pretty_printers.InfoPrettyPrinter.list_pretty_printers(), and gdb.command.pretty_printers.InfoPrettyPrinter.printer_name().
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().