parameters: (self, arg, from_tty)
docstring: GDB calls this to perform the command.
docstring_summary: GDB calls this to perform the command.
docstring_tokens: GDB calls this to perform the command .
function: def invoke(self, arg, from_tty):
          """GDB calls this to perform the command."""
          for name in arg.split():
              ok = False
              for objfile in gdb.objfiles():
                  if self.set_some(name, objfile.type_printers):
                      ok = True
              if self.set_some(name, gdb.current_progspace().type_printers):
                  ok = True
              if self.set_some(name, gdb.type_printers):
                  ok = True
              if not ok:
                  print ("No type printer named '%s'" % name)
function_tokens: def invoke ( self , arg , from_tty ) : for name in arg . split ( ) : ok = False for objfile in gdb . objfiles ( ) : if self . set_some ( name , objfile . type_printers ) : ok = True if self . set_some ( name , gdb . current_progspace ( ) . type_printers ) : ok = True if self . set_some ( name , gdb . type_printers ) : ok = True if not ok : print ( "No type printer named '%s'" % name )