Home | History | Annotate | Download | only in command

Lines Matching refs:GDB

17 """GDB commands for working with pretty-printers."""
20 import gdb
41 argv = gdb.string_to_argv(arg);
84 class InfoPrettyPrinter(gdb.Command):
85 """GDB command to list all registered pretty-printers.
100 gdb.COMMAND_DATA)
157 """GDB calls this to perform the command."""
159 self.invoke1("global pretty-printers:", gdb.pretty_printers,
161 cp = gdb.current_progspace()
165 for objfile in gdb.objfiles():
196 (t_enabled, t_total) = count_enabled_printers(gdb.pretty_printers)
199 (t_enabled, t_total) = count_enabled_printers(gdb.current_progspace().pretty_printers)
202 for objfile in gdb.objfiles():
289 total += do_enable_pretty_printer_1(gdb.pretty_printers,
291 cp = gdb.current_progspace()
295 for objfile in gdb.objfiles():
320 class EnablePrettyPrinter (gdb.Command):
321 """GDB command to enable the specified pretty-printer.
336 gdb.COMMAND_DATA)
339 """GDB calls this to perform the command."""
343 class DisablePrettyPrinter (gdb.Command):
344 """GDB command to disable the specified pretty-printer.
359 gdb.COMMAND_DATA)
362 """GDB calls this to perform the command."""