commit | fc58af2513c7c9883df515686a5906d95a19ecf0 | [log] [tgz] |
---|---|---|
author | Sean Callanan <scallanan@apple.com> | Fri May 04 23:15:02 2012 +0000 |
committer | Sean Callanan <scallanan@apple.com> | Fri May 04 23:15:02 2012 +0000 |
tree | 8582951e17ce323452fb3a32de3c1bbe798bb1e9 | |
parent | 1b584ebc1de8b50fe375cffb5fb33ad13be10046 [diff] [blame] |
Added an "attach" alias as promised on the web page. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156223 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Interpreter/CommandInterpreter.cpp b/source/Interpreter/CommandInterpreter.cpp index 4e81407..5555238 100644 --- a/source/Interpreter/CommandInterpreter.cpp +++ b/source/Interpreter/CommandInterpreter.cpp
@@ -113,6 +113,12 @@ 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)