diff options
author | Greg Clayton <gclayton@apple.com> | 2012-03-29 21:47:51 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-03-29 21:47:51 +0000 |
commit | 843d62d14d5566c7a5c08371510d89eebe27eed5 (patch) | |
tree | 6d16ddd376241cd6a7d9051c91918a8c215acae5 | |
parent | 3548eaf896f523845c1462f8744a4e5fb55f0697 (diff) | |
download | bcm5719-llvm-843d62d14d5566c7a5c08371510d89eebe27eed5.tar.gz bcm5719-llvm-843d62d14d5566c7a5c08371510d89eebe27eed5.zip |
Added a "add-dsym" alias to "target symbols add" to keep gdb converts happy.
llvm-svn: 153695
-rw-r--r-- | lldb/source/Interpreter/CommandInterpreter.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index 8c3d2d37d75..033322b299d 100644 --- a/lldb/source/Interpreter/CommandInterpreter.cpp +++ b/lldb/source/Interpreter/CommandInterpreter.cpp @@ -244,6 +244,12 @@ CommandInterpreter::Initialize () 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 * |