diff options
author | Sean Callanan <scallanan@apple.com> | 2012-05-04 23:15:02 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2012-05-04 23:15:02 +0000 |
commit | 247e62a706ac0c21424f6ec6809440b73e69aa47 (patch) | |
tree | a2864adb7d7e3374197f14f51073a412b47c967c /lldb/source/Interpreter/CommandInterpreter.cpp | |
parent | 4fd600b648be1f10581519106c8da087ecbcc539 (diff) | |
download | bcm5719-llvm-247e62a706ac0c21424f6ec6809440b73e69aa47.tar.gz bcm5719-llvm-247e62a706ac0c21424f6ec6809440b73e69aa47.zip |
Added an "attach" alias as promised on the web page.
llvm-svn: 156223
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
-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 4e814070e34..55552385942 100644 --- a/lldb/source/Interpreter/CommandInterpreter.cpp +++ b/lldb/source/Interpreter/CommandInterpreter.cpp @@ -113,6 +113,12 @@ CommandInterpreter::Initialize () AddAlias ("q", cmd_obj_sp); AddAlias ("exit", cmd_obj_sp); } + + cmd_obj_sp = GetCommandSPExact ("process attach", false); + if (cmd_obj_sp) + { + AddAlias ("attach", cmd_obj_sp); + } cmd_obj_sp = GetCommandSPExact ("process continue", false); if (cmd_obj_sp) |