forked from OSchip/llvm-project
Added an "rb" alias that sets breakpoints by
regular expression. llvm-svn: 157202
This commit is contained in:
parent
19a7bcedb1
commit
fc732755ad
|
@ -256,6 +256,15 @@ CommandInterpreter::Initialize ()
|
|||
{
|
||||
AddAlias ("add-dsym", cmd_obj_sp);
|
||||
}
|
||||
|
||||
cmd_obj_sp = GetCommandSPExact ("breakpoint set", false);
|
||||
if (cmd_obj_sp)
|
||||
{
|
||||
alias_arguments_vector_sp.reset (new OptionArgVector);
|
||||
ProcessAliasOptionsArgs (cmd_obj_sp, "--func-regex %1", alias_arguments_vector_sp);
|
||||
AddAlias ("rb", cmd_obj_sp);
|
||||
AddOrReplaceAliasOptions("rb", alias_arguments_vector_sp);
|
||||
}
|
||||
}
|
||||
|
||||
const char *
|
||||
|
|
Loading…
Reference in New Issue