[Lldb-commits] [lldb] r178573 - Added "rb" and "rbr" aliases to fix regressions

Sean Callanan scallanan at apple.com
Tue Apr 2 13:21:34 PDT 2013


Author: spyffe
Date: Tue Apr  2 15:21:34 2013
New Revision: 178573

URL: http://llvm.org/viewvc/llvm-project?rev=178573&view=rev
Log:
Added "rb" and "rbr" aliases to fix regressions
when we changed "rb" to "rbreak".

<rdar://problem/13552724>

Modified:
    lldb/trunk/source/Interpreter/CommandInterpreter.cpp

Modified: lldb/trunk/source/Interpreter/CommandInterpreter.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/CommandInterpreter.cpp?rev=178573&r1=178572&r2=178573&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/CommandInterpreter.cpp (original)
+++ lldb/trunk/source/Interpreter/CommandInterpreter.cpp Tue Apr  2 15:21:34 2013
@@ -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);
     }
 }





More information about the lldb-commits mailing list