Lines Matching refs:self

24         def __init__(self, spec, gdb_command):  argument
25 super(LoadModuleBreakpoint, self).__init__(spec, internal=True)
26 self.silent = True
27 self.gdb_command = gdb_command
29 def stop(self): argument
32 cmd = self.gdb_command
71 def __init__(self): argument
72 super(LxSymbols, self).__init__("lx-symbols", gdb.COMMAND_FILES,
75 def _update_module_files(self): argument
76 self.module_files = []
77 for path in self.module_paths:
82 self.module_files.append(root + "/" + name)
83 self.module_files_updated = True
85 def _get_module_file(self, module_name): argument
88 for name in self.module_files:
93 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)
125 sections=self._section_arguments(module))
127 if not module_name in self.loaded_modules:
128 self.loaded_modules.append(module_name)
132 def load_all_symbols(self): argument
146 self.loaded_modules = []
151 [self.load_module_symbols(module) for module in module_list]
156 def invoke(self, arg, from_tty): argument
157 self.module_paths = arg.split()
158 self.module_paths.append(os.getcwd())
161 self.module_files = []
162 self.module_files_updated = False
164 self.load_all_symbols()
167 if not self.breakpoint is None:
168 self.breakpoint.delete()
169 self.breakpoint = None
170 self.breakpoint = LoadModuleBreakpoint(
171 "kernel/module.c:do_init_module", self)