summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/CommandInterpreter.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2012-05-04 23:15:02 +0000
committerSean Callanan <scallanan@apple.com>2012-05-04 23:15:02 +0000
commit247e62a706ac0c21424f6ec6809440b73e69aa47 (patch)
treea2864adb7d7e3374197f14f51073a412b47c967c /lldb/source/Interpreter/CommandInterpreter.cpp
parent4fd600b648be1f10581519106c8da087ecbcc539 (diff)
downloadbcm5719-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.cpp6
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)
OpenPOWER on IntegriCloud