Home | History | Annotate | Download | only in Interpreter

Lines Matching defs:cmd_obj_sp

153     CommandObjectSP cmd_obj_sp = GetCommandSPExact ("quit", false);
154 if (cmd_obj_sp)
156 AddAlias ("q", cmd_obj_sp);
157 AddAlias ("exit", cmd_obj_sp);
160 cmd_obj_sp = GetCommandSPExact ("_regexp-attach",false);
161 if (cmd_obj_sp)
163 AddAlias ("attach", cmd_obj_sp);
166 cmd_obj_sp = GetCommandSPExact ("process detach",false);
167 if (cmd_obj_sp)
169 AddAlias ("detach", cmd_obj_sp);
172 cmd_obj_sp = GetCommandSPExact ("process continue", false);
173 if (cmd_obj_sp)
175 AddAlias ("c", cmd_obj_sp);
176 AddAlias ("continue", cmd_obj_sp);
179 cmd_obj_sp = GetCommandSPExact ("_regexp-break",false);
180 if (cmd_obj_sp)
181 AddAlias ("b", cmd_obj_sp);
183 cmd_obj_sp = GetCommandSPExact ("_regexp-tbreak",false);
184 if (cmd_obj_sp)
185 AddAlias ("tbreak", cmd_obj_sp);
187 cmd_obj_sp = GetCommandSPExact ("thread step-inst", false);
188 if (cmd_obj_sp)
190 AddAlias ("stepi", cmd_obj_sp);
191 AddAlias ("si", cmd_obj_sp);
194 cmd_obj_sp = GetCommandSPExact ("thread step-inst-over", false);
195 if (cmd_obj_sp)
197 AddAlias ("nexti", cmd_obj_sp);
198 AddAlias ("ni", cmd_obj_sp);
201 cmd_obj_sp = GetCommandSPExact ("thread step-in", false);
202 if (cmd_obj_sp)
204 AddAlias ("s", cmd_obj_sp);
205 AddAlias ("step", cmd_obj_sp);
208 cmd_obj_sp = GetCommandSPExact ("thread step-over", false);
209 if (cmd_obj_sp)
211 AddAlias ("n", cmd_obj_sp);
212 AddAlias ("next", cmd_obj_sp);
215 cmd_obj_sp = GetCommandSPExact ("thread step-out", false);
216 if (cmd_obj_sp)
218 AddAlias ("finish", cmd_obj_sp);
221 cmd_obj_sp = GetCommandSPExact ("frame select", false);
222 if (cmd_obj_sp)
224 AddAlias ("f", cmd_obj_sp);
227 cmd_obj_sp = GetCommandSPExact ("thread select", false);
228 if (cmd_obj_sp)
230 AddAlias ("t", cmd_obj_sp);
233 cmd_obj_sp = GetCommandSPExact ("_regexp-list", false);
234 if (cmd_obj_sp)
236 AddAlias ("l", cmd_obj_sp);
237 AddAlias ("list", cmd_obj_sp);
240 cmd_obj_sp = GetCommandSPExact ("_regexp-env", false);
241 if (cmd_obj_sp)
243 AddAlias ("env", cmd_obj_sp);
246 cmd_obj_sp = GetCommandSPExact ("memory read", false);
247 if (cmd_obj_sp)
248 AddAlias ("x", cmd_obj_sp);
250 cmd_obj_sp = GetCommandSPExact ("_regexp-up", false);
251 if (cmd_obj_sp)
252 AddAlias ("up", cmd_obj_sp);
254 cmd_obj_sp = GetCommandSPExact ("_regexp-down", false);
255 if (cmd_obj_sp)
256 AddAlias ("down", cmd_obj_sp);
258 cmd_obj_sp = GetCommandSPExact ("_regexp-display", false);
259 if (cmd_obj_sp)
260 AddAlias ("display", cmd_obj_sp);
262 cmd_obj_sp = GetCommandSPExact ("disassemble", false);
263 if (cmd_obj_sp)
264 AddAlias ("dis", cmd_obj_sp);
266 cmd_obj_sp = GetCommandSPExact ("disassemble", false);
267 if (cmd_obj_sp)
268 AddAlias ("di", cmd_obj_sp);
272 cmd_obj_sp = GetCommandSPExact ("_regexp-undisplay", false);
273 if (cmd_obj_sp)
274 AddAlias ("undisplay", cmd_obj_sp);
276 cmd_obj_sp = GetCommandSPExact ("_regexp-bt", false);
277 if (cmd_obj_sp)
278 AddAlias ("bt", cmd_obj_sp);
280 cmd_obj_sp = GetCommandSPExact ("target create", false);
281 if (cmd_obj_sp)
282 AddAlias ("file", cmd_obj_sp);
284 cmd_obj_sp = GetCommandSPExact ("target modules", false);
285 if (cmd_obj_sp)
286 AddAlias ("image", cmd_obj_sp);
291 cmd_obj_sp = GetCommandSPExact ("expression", false);
292 if (cmd_obj_sp)
294 ProcessAliasOptionsArgs (cmd_obj_sp, "--", alias_arguments_vector_sp);
295 AddAlias ("p", cmd_obj_sp);
296 AddAlias ("print", cmd_obj_sp);
297 AddAlias ("call", cmd_obj_sp);
303 ProcessAliasOptionsArgs (cmd_obj_sp, "-O -- ", alias_arguments_vector_sp);
304 AddAlias ("po", cmd_obj_sp);
308 cmd_obj_sp = GetCommandSPExact ("process kill", false);
309 if (cmd_obj_sp)
311 AddAlias ("kill", cmd_obj_sp);
314 cmd_obj_sp = GetCommandSPExact ("process launch", false);
315 if (cmd_obj_sp)
319 ProcessAliasOptionsArgs (cmd_obj_sp, "--", alias_arguments_vector_sp);
321 ProcessAliasOptionsArgs (cmd_obj_sp, "--shell=/bin/bash --", alias_arguments_vector_sp);
323 AddAlias ("r", cmd_obj_sp);
324 AddAlias ("run", cmd_obj_sp);
329 cmd_obj_sp = GetCommandSPExact ("target symbols add", false);
330 if (cmd_obj_sp)
332 AddAlias ("add-dsym", cmd_obj_sp);
335 cmd_obj_sp = GetCommandSPExact ("breakpoint set", false);
336 if (cmd_obj_sp)
339 ProcessAliasOptionsArgs (cmd_obj_sp, "--func-regex %1", alias_arguments_vector_sp);
340 AddAlias ("rbreak", cmd_obj_sp);
811 // First, get the cmd_obj_sp for the first word in the command.
812 CommandObjectSP cmd_obj_sp
813 if (cmd_obj_sp.get() != NULL)
820 if (cmd_obj_sp->IsMultiwordObject())
822 cmd_obj_sp = cmd_obj_sp->GetSubcommandSP (cmd_words.GetArgumentAtIndex (j));
823 if (cmd_obj_sp.get() == NULL)
834 ret_val = cmd_obj_sp;
885 CommandInterpreter::ProcessAliasOptionsArgs (lldb::CommandObjectSP &cmd_obj_sp,
899 Options *options = cmd_obj_sp->GetOptions ();
918 if (cmd_obj_sp->WantsRawCommandString ())
957 CommandObjectSP cmd_obj_sp(GetCommandSP (cmd, include_aliases, exact, &regular_matches));
958 if (cmd_obj_sp || regular_matches.GetSize() > 0)