[Lldb-commits] [PATCH] D68909: change shortcut for 'step out' from 'o' to 'f'

Luboš Luňák via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sat Oct 12 04:43:47 PDT 2019


llunak created this revision.
llunak added a reviewer: clayborg.
llunak added a project: LLDB.
Herald added subscribers: lldb-commits, JDevlieghere.

This makes it consistent with gdb tui, where 'f' is 'finish'.
See the discussion at https://reviews.llvm.org/D68541 .


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D68909

Files:
  lldb/source/Core/IOHandler.cpp


Index: lldb/source/Core/IOHandler.cpp
===================================================================
--- lldb/source/Core/IOHandler.cpp
+++ lldb/source/Core/IOHandler.cpp
@@ -3768,7 +3768,7 @@
         {'h', "Show help dialog"},
         {'n', "Step over (source line)"},
         {'N', "Step over (single instruction)"},
-        {'o', "Step out"},
+        {'f', "Step out (finish)"},
         {'s', "Step in (source line)"},
         {'S', "Step in (single instruction)"},
         {',', "Page up"},
@@ -4346,8 +4346,8 @@
       }
       return eKeyHandled;
 
-    case 'o':
-      // 'o' == step out
+    case 'f':
+      // 'f' == step out (finish)
       {
         ExecutionContext exe_ctx =
             m_debugger.GetCommandInterpreter().GetExecutionContext();


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68909.224735.patch
Type: text/x-patch
Size: 775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191012/d02fb9b4/attachment-0001.bin>


More information about the lldb-commits mailing list