code: def Reinit(self, pid, auto_symfile_loading=True):
      
      self.ShutDownGdb()
      self.__init__(pid, auto_symfile_loading, architecture=self.arch)
docs: Reinitializes the object with a new pid.
  
      Since all modes might need access to this object at any time, this object
      needs to be long-lived. To make this clear in the API, this shorthand is
      supplied.
      Args:
        pid: the pid of the target process
        auto_symfile_loading: whether the symbol file should automatically be
          loaded by gdb.