summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/CommandInterpreter.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2011-12-02 01:12:59 +0000
committerJim Ingham <jingham@apple.com>2011-12-02 01:12:59 +0000
commit6d6d1071676d62bb649291e52792c4f8c7157fe3 (patch)
tree206e57662db83044e9c81c2e541469a04dc3b910 /lldb/source/Interpreter/CommandInterpreter.cpp
parent70e163b5074869e6c46ddfc22340d694ff0b33c0 (diff)
downloadbcm5719-llvm-6d6d1071676d62bb649291e52792c4f8c7157fe3.tar.gz
bcm5719-llvm-6d6d1071676d62bb649291e52792c4f8c7157fe3.zip
"f" should be an alias for "frame select" not "finish" to match the gdb usage.
llvm-svn: 145660
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
-rw-r--r--lldb/source/Interpreter/CommandInterpreter.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp
index 688881a87a9..bce32beb6f1 100644
--- a/lldb/source/Interpreter/CommandInterpreter.cpp
+++ b/lldb/source/Interpreter/CommandInterpreter.cpp
@@ -151,10 +151,15 @@ CommandInterpreter::Initialize ()
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)
{
OpenPOWER on IntegriCloud