• Home
  • Raw
  • Download

Lines Matching refs:self

23         def __init__(self, spec, gdb_command):  argument
24 super(LoadModuleBreakpoint, self).__init__(spec, internal=True)
25 self.silent = True
26 self.gdb_command = gdb_command
28 def stop(self): argument
31 cmd = self.gdb_command
70 def __init__(self): argument
71 super(LxSymbols, self).__init__("lx-symbols", gdb.COMMAND_FILES,
74 def _update_module_files(self): argument
75 self.module_files = []
76 for path in self.module_paths:
81 self.module_files.append(root + "/" + name)
82 self.module_files_updated = True
84 def _get_module_file(self, module_name): argument
87 for name in self.module_files:
92 def _section_arguments(self, module): argument
110 def load_module_symbols(self, module): argument
114 module_file = self._get_module_file(module_name)
115 if not module_file and not self.module_files_updated:
116 self._update_module_files()
117 module_file = self._get_module_file(module_name)
131 sections=self._section_arguments(module))
133 if module_name not in self.loaded_modules:
134 self.loaded_modules.append(module_name)
138 def load_all_symbols(self): argument
156 self.loaded_modules = []
161 [self.load_module_symbols(module) for module in module_list]
166 def invoke(self, arg, from_tty): argument
167 self.module_paths = [os.path.expanduser(p) for p in arg.split()]
168 self.module_paths.append(os.getcwd())
171 self.module_files = []
172 self.module_files_updated = False
174 self.load_all_symbols()
177 if self.breakpoint is not None:
178 self.breakpoint.delete()
179 self.breakpoint = None
180 self.breakpoint = LoadModuleBreakpoint(
181 "kernel/module.c:do_init_module", self)