From 247e62a706ac0c21424f6ec6809440b73e69aa47 Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Fri, 4 May 2012 23:15:02 +0000 Subject: [PATCH] Added an "attach" alias as promised on the web page. llvm-svn: 156223 --- lldb/source/Interpreter/CommandInterpreter.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index 4e814070e341..55552385942c 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) -- GitLab