• Home
  • Raw
  • Download

Lines Matching refs:cmd_obj_sp

238   CommandObjectSP cmd_obj_sp = GetCommandSPExact("quit", false);  in Initialize()  local
239 if (cmd_obj_sp) { in Initialize()
240 AddAlias("q", cmd_obj_sp); in Initialize()
241 AddAlias("exit", cmd_obj_sp); in Initialize()
244 cmd_obj_sp = GetCommandSPExact("_regexp-attach", false); in Initialize()
245 if (cmd_obj_sp) in Initialize()
246 AddAlias("attach", cmd_obj_sp)->SetSyntax(cmd_obj_sp->GetSyntax()); in Initialize()
248 cmd_obj_sp = GetCommandSPExact("process detach", false); in Initialize()
249 if (cmd_obj_sp) { in Initialize()
250 AddAlias("detach", cmd_obj_sp); in Initialize()
253 cmd_obj_sp = GetCommandSPExact("process continue", false); in Initialize()
254 if (cmd_obj_sp) { in Initialize()
255 AddAlias("c", cmd_obj_sp); in Initialize()
256 AddAlias("continue", cmd_obj_sp); in Initialize()
259 cmd_obj_sp = GetCommandSPExact("_regexp-break", false); in Initialize()
260 if (cmd_obj_sp) in Initialize()
261 AddAlias("b", cmd_obj_sp)->SetSyntax(cmd_obj_sp->GetSyntax()); in Initialize()
263 cmd_obj_sp = GetCommandSPExact("_regexp-tbreak", false); in Initialize()
264 if (cmd_obj_sp) in Initialize()
265 AddAlias("tbreak", cmd_obj_sp)->SetSyntax(cmd_obj_sp->GetSyntax()); in Initialize()
267 cmd_obj_sp = GetCommandSPExact("thread step-inst", false); in Initialize()
268 if (cmd_obj_sp) { in Initialize()
269 AddAlias("stepi", cmd_obj_sp); in Initialize()
270 AddAlias("si", cmd_obj_sp); in Initialize()
273 cmd_obj_sp = GetCommandSPExact("thread step-inst-over", false); in Initialize()
274 if (cmd_obj_sp) { in Initialize()
275 AddAlias("nexti", cmd_obj_sp); in Initialize()
276 AddAlias("ni", cmd_obj_sp); in Initialize()
279 cmd_obj_sp = GetCommandSPExact("thread step-in", false); in Initialize()
280 if (cmd_obj_sp) { in Initialize()
281 AddAlias("s", cmd_obj_sp); in Initialize()
282 AddAlias("step", cmd_obj_sp); in Initialize()
284 "sif", cmd_obj_sp, "--end-linenumber block --step-in-target %1"); in Initialize()
293 cmd_obj_sp = GetCommandSPExact("thread step-over", false); in Initialize()
294 if (cmd_obj_sp) { in Initialize()
295 AddAlias("n", cmd_obj_sp); in Initialize()
296 AddAlias("next", cmd_obj_sp); in Initialize()
299 cmd_obj_sp = GetCommandSPExact("thread step-out", false); in Initialize()
300 if (cmd_obj_sp) { in Initialize()
301 AddAlias("finish", cmd_obj_sp); in Initialize()
304 cmd_obj_sp = GetCommandSPExact("frame select", false); in Initialize()
305 if (cmd_obj_sp) { in Initialize()
306 AddAlias("f", cmd_obj_sp); in Initialize()
309 cmd_obj_sp = GetCommandSPExact("thread select", false); in Initialize()
310 if (cmd_obj_sp) { in Initialize()
311 AddAlias("t", cmd_obj_sp); in Initialize()
314 cmd_obj_sp = GetCommandSPExact("_regexp-jump", false); in Initialize()
315 if (cmd_obj_sp) { in Initialize()
316 AddAlias("j", cmd_obj_sp)->SetSyntax(cmd_obj_sp->GetSyntax()); in Initialize()
317 AddAlias("jump", cmd_obj_sp)->SetSyntax(cmd_obj_sp->GetSyntax()); in Initialize()
320 cmd_obj_sp = GetCommandSPExact("_regexp-list", false); in Initialize()
321 if (cmd_obj_sp) { in Initialize()
322 AddAlias("l", cmd_obj_sp)->SetSyntax(cmd_obj_sp->GetSyntax()); in Initialize()
323 AddAlias("list", cmd_obj_sp)->SetSyntax(cmd_obj_sp->GetSyntax()); in Initialize()
326 cmd_obj_sp = GetCommandSPExact("_regexp-env", false); in Initialize()
327 if (cmd_obj_sp) in Initialize()
328 AddAlias("env", cmd_obj_sp)->SetSyntax(cmd_obj_sp->GetSyntax()); in Initialize()
330 cmd_obj_sp = GetCommandSPExact("memory read", false); in Initialize()
331 if (cmd_obj_sp) in Initialize()
332 AddAlias("x", cmd_obj_sp); in Initialize()
334 cmd_obj_sp = GetCommandSPExact("_regexp-up", false); in Initialize()
335 if (cmd_obj_sp) in Initialize()
336 AddAlias("up", cmd_obj_sp)->SetSyntax(cmd_obj_sp->GetSyntax()); in Initialize()
338 cmd_obj_sp = GetCommandSPExact("_regexp-down", false); in Initialize()
339 if (cmd_obj_sp) in Initialize()
340 AddAlias("down", cmd_obj_sp)->SetSyntax(cmd_obj_sp->GetSyntax()); in Initialize()
342 cmd_obj_sp = GetCommandSPExact("_regexp-display", false); in Initialize()
343 if (cmd_obj_sp) in Initialize()
344 AddAlias("display", cmd_obj_sp)->SetSyntax(cmd_obj_sp->GetSyntax()); in Initialize()
346 cmd_obj_sp = GetCommandSPExact("disassemble", false); in Initialize()
347 if (cmd_obj_sp) in Initialize()
348 AddAlias("dis", cmd_obj_sp); in Initialize()
350 cmd_obj_sp = GetCommandSPExact("disassemble", false); in Initialize()
351 if (cmd_obj_sp) in Initialize()
352 AddAlias("di", cmd_obj_sp); in Initialize()
354 cmd_obj_sp = GetCommandSPExact("_regexp-undisplay", false); in Initialize()
355 if (cmd_obj_sp) in Initialize()
356 AddAlias("undisplay", cmd_obj_sp)->SetSyntax(cmd_obj_sp->GetSyntax()); in Initialize()
358 cmd_obj_sp = GetCommandSPExact("_regexp-bt", false); in Initialize()
359 if (cmd_obj_sp) in Initialize()
360 AddAlias("bt", cmd_obj_sp)->SetSyntax(cmd_obj_sp->GetSyntax()); in Initialize()
362 cmd_obj_sp = GetCommandSPExact("target create", false); in Initialize()
363 if (cmd_obj_sp) in Initialize()
364 AddAlias("file", cmd_obj_sp); in Initialize()
366 cmd_obj_sp = GetCommandSPExact("target modules", false); in Initialize()
367 if (cmd_obj_sp) in Initialize()
368 AddAlias("image", cmd_obj_sp); in Initialize()
372 cmd_obj_sp = GetCommandSPExact("expression", false); in Initialize()
373 if (cmd_obj_sp) { in Initialize()
374 AddAlias("p", cmd_obj_sp, "--")->SetHelpLong(""); in Initialize()
375 AddAlias("print", cmd_obj_sp, "--")->SetHelpLong(""); in Initialize()
376 AddAlias("call", cmd_obj_sp, "--")->SetHelpLong(""); in Initialize()
377 if (auto *po = AddAlias("po", cmd_obj_sp, "-O --")) { in Initialize()
384 AddAlias("parray", cmd_obj_sp, "--element-count %1 --"); in Initialize()
392 CommandAlias *poarray_alias = AddAlias("poarray", cmd_obj_sp, in Initialize()
402 cmd_obj_sp = GetCommandSPExact("platform shell", false); in Initialize()
403 if (cmd_obj_sp) { in Initialize()
404 CommandAlias *shell_alias = AddAlias("shell", cmd_obj_sp, " --host --"); in Initialize()
412 cmd_obj_sp = GetCommandSPExact("process kill", false); in Initialize()
413 if (cmd_obj_sp) { in Initialize()
414 AddAlias("kill", cmd_obj_sp); in Initialize()
417 cmd_obj_sp = GetCommandSPExact("process launch", false); in Initialize()
418 if (cmd_obj_sp) { in Initialize()
421 AddAlias("r", cmd_obj_sp, "--"); in Initialize()
422 AddAlias("run", cmd_obj_sp, "--"); in Initialize()
429 AddAlias("r", cmd_obj_sp, "--shell-expand-args true --"); in Initialize()
430 AddAlias("run", cmd_obj_sp, "--shell-expand-args true --"); in Initialize()
435 AddAlias("r", cmd_obj_sp, defaultshell.GetString()); in Initialize()
436 AddAlias("run", cmd_obj_sp, defaultshell.GetString()); in Initialize()
441 cmd_obj_sp = GetCommandSPExact("target symbols add", false); in Initialize()
442 if (cmd_obj_sp) { in Initialize()
443 AddAlias("add-dsym", cmd_obj_sp); in Initialize()
446 cmd_obj_sp = GetCommandSPExact("breakpoint set", false); in Initialize()
447 if (cmd_obj_sp) { in Initialize()
448 AddAlias("rbreak", cmd_obj_sp, "--func-regex %1"); in Initialize()
451 cmd_obj_sp = GetCommandSPExact("frame variable", false); in Initialize()
452 if (cmd_obj_sp) { in Initialize()
453 AddAlias("v", cmd_obj_sp); in Initialize()
454 AddAlias("var", cmd_obj_sp); in Initialize()
455 AddAlias("vo", cmd_obj_sp, "--object-description"); in Initialize()
458 cmd_obj_sp = GetCommandSPExact("register", false); in Initialize()
459 if (cmd_obj_sp) { in Initialize()
460 AddAlias("re", cmd_obj_sp); in Initialize()
463 cmd_obj_sp = GetCommandSPExact("session history", false); in Initialize()
464 if (cmd_obj_sp) { in Initialize()
465 AddAlias("history", cmd_obj_sp); in Initialize()
1056 CommandObjectSP cmd_obj_sp = GetCommandSP(llvm::StringRef(cmd_words.GetArgumentAtIndex(0)), in GetCommandSPExact() local
1058 if (cmd_obj_sp.get() != nullptr) { in GetCommandSPExact()
1064 if (cmd_obj_sp->IsMultiwordObject()) { in GetCommandSPExact()
1065 cmd_obj_sp = in GetCommandSPExact()
1066 cmd_obj_sp->GetSubcommandSP(cmd_words.GetArgumentAtIndex(j)); in GetCommandSPExact()
1067 if (cmd_obj_sp.get() == nullptr) in GetCommandSPExact()
1079 ret_val = cmd_obj_sp; in GetCommandSPExact()
1142 CommandObjectSP cmd_obj_sp( in GetAliasFullName() local
1144 if (cmd_obj_sp || regular_matches.GetSize() > 0) in GetAliasFullName()