|
GDB (xrefs)
|
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) |
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.
| def gdb.command.pretty_printers.InfoPrettyPrinter.__init__ | ( | self | ) |
Definition at line 98 of file pretty_printers.py.
Referenced by gdb.command.pretty_printers.InfoPrettyPrinter.__init__().
| def gdb.command.pretty_printers.InfoPrettyPrinter.__init__ | ( | self | ) |
Definition at line 98 of file pretty_printers.py.
References gdb.command.pretty_printers.InfoPrettyPrinter.__init__().
|
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().
|
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(), 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 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 | |||
| ) |
Subroutine of invoke to simplify it.
Definition at line 146 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.list_pretty_printers().
| 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.invoke1(), 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(), gdb.command.pretty_printers.InfoPrettyPrinter.invoke1(), 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().
|
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().
|
static |
Return the printer's name.
Definition at line 111 of file pretty_printers.py.
References gdb.command.pretty_printers.InfoPrettyPrinter.printer_name().
1.8.14