summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/CommandInterpreter.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2013-04-02 20:21:34 +0000
committerSean Callanan <scallanan@apple.com>2013-04-02 20:21:34 +0000
commitcbf87cc8d608dcb2902ae46bc63477abe3f2a835 (patch)
tree122c7a9773a2c024651e72eb2dce30a5d3f3598a /lldb/source/Interpreter/CommandInterpreter.cpp
parentaf4549d64c95a24183eee53fb7b98c5aa2cbe312 (diff)
downloadbcm5719-llvm-cbf87cc8d608dcb2902ae46bc63477abe3f2a835.tar.gz
bcm5719-llvm-cbf87cc8d608dcb2902ae46bc63477abe3f2a835.zip
Added "rb" and "rbr" aliases to fix regressions
when we changed "rb" to "rbreak". <rdar://problem/13552724> llvm-svn: 178573
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
-rw-r--r--lldb/source/Interpreter/CommandInterpreter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp
index 9fe94e086a7..392ee941278 100644
--- a/lldb/source/Interpreter/CommandInterpreter.cpp
+++ b/lldb/source/Interpreter/CommandInterpreter.cpp
@@ -331,7 +331,11 @@ CommandInterpreter::Initialize ()
{
alias_arguments_vector_sp.reset (new OptionArgVector);
ProcessAliasOptionsArgs (cmd_obj_sp, "--func-regex %1", alias_arguments_vector_sp);
+ AddAlias ("rb", cmd_obj_sp);
+ AddAlias ("rbr", cmd_obj_sp);
AddAlias ("rbreak", cmd_obj_sp);
+ AddOrReplaceAliasOptions("rb", alias_arguments_vector_sp);
+ AddOrReplaceAliasOptions("rbr", alias_arguments_vector_sp);
AddOrReplaceAliasOptions("rbreak", alias_arguments_vector_sp);
}
}
OpenPOWER on IntegriCloud