summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/CommandInterpreter.cpp
diff options
context:
space:
mode:
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