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
109 def load_module_symbols(self, module): argument
113 module_file = self._get_module_file(module_name)
114 if not module_file and not self.module_files_updated:
115 self._update_module_files()
116 module_file = self._get_module_file(module_name)
124 sections=self._section_arguments(module))
126 if module_name not in self.loaded_modules:
127 self.loaded_modules.append(module_name)
131 def load_all_symbols(self): argument
145 self.loaded_modules = []
150 [self.load_module_symbols(module) for module in module_list]
155 def invoke(self, arg, from_tty): argument
156 self.module_paths = arg.split()
157 self.module_paths.append(os.getcwd())
160 self.module_files = []
161 self.module_files_updated = False
163 self.load_all_symbols()
166 if self.breakpoint is not None:
167 self.breakpoint.delete()
168 self.breakpoint = None
169 self.breakpoint = LoadModuleBreakpoint(
170 "kernel/module.c:do_init_module", self)