[Lldb-commits] [lldb] r153695 - /lldb/trunk/source/Interpreter/CommandInterpreter.cpp

Greg Clayton gclayton at apple.com
Thu Mar 29 14:47:51 PDT 2012


Author: gclayton
Date: Thu Mar 29 16:47:51 2012
New Revision: 153695

URL: http://llvm.org/viewvc/llvm-project?rev=153695&view=rev
Log:
Added a "add-dsym" alias to "target symbols add" to keep gdb converts happy.


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=153695&r1=153694&r2=153695&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/CommandInterpreter.cpp (original)
+++ lldb/trunk/source/Interpreter/CommandInterpreter.cpp Thu Mar 29 16:47:51 2012
@@ -244,6 +244,12 @@
         AddOrReplaceAliasOptions ("r", alias_arguments_vector_sp);
         AddOrReplaceAliasOptions ("run", alias_arguments_vector_sp);
     }
+    
+    cmd_obj_sp = GetCommandSPExact ("target symbols add", false);
+    if (cmd_obj_sp)
+    {
+        AddAlias ("add-dsym", cmd_obj_sp);
+    }
 }
 
 const char *





More information about the lldb-commits mailing list