Added a "add-dsym" alias to "target symbols add" to keep gdb converts happy.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153695 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Interpreter/CommandInterpreter.cpp b/source/Interpreter/CommandInterpreter.cpp
index 8c3d2d3..033322b 100644
--- a/source/Interpreter/CommandInterpreter.cpp
+++ b/source/Interpreter/CommandInterpreter.cpp
@@ -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 *