"f" should be an alias for "frame select" not "finish" to match the gdb usage.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@145660 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Interpreter/CommandInterpreter.cpp b/source/Interpreter/CommandInterpreter.cpp
index 688881a..bce32be 100644
--- a/source/Interpreter/CommandInterpreter.cpp
+++ b/source/Interpreter/CommandInterpreter.cpp
@@ -151,10 +151,15 @@
cmd_obj_sp = GetCommandSPExact ("thread step-out", false);
if (cmd_obj_sp)
{
- AddAlias ("f", cmd_obj_sp);
AddAlias ("finish", cmd_obj_sp);
}
+ cmd_obj_sp = GetCommandSPExact ("frame select", false);
+ if (cmd_obj_sp)
+ {
+ AddAlias ("f", cmd_obj_sp);
+ }
+
cmd_obj_sp = GetCommandSPExact ("source list", false);
if (cmd_obj_sp)
{