[Lldb-commits] [lldb] 336c702 - [lldb] change shortcut for 'step out' from 'o' to 'f'

Luboš Luňák via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 29 13:30:52 PDT 2020


Author: Luboš Luňák
Date: 2020-07-29T22:30:23+02:00
New Revision: 336c7029ef3b7eff981d6c6990a6a255a4de236e

URL: https://github.com/llvm/llvm-project/commit/336c7029ef3b7eff981d6c6990a6a255a4de236e
DIFF: https://github.com/llvm/llvm-project/commit/336c7029ef3b7eff981d6c6990a6a255a4de236e.diff

LOG: [lldb] change shortcut for 'step out' from 'o' to 'f'

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

Differential Revision: https://reviews.llvm.org/D68909

Added: 
    

Modified: 
    lldb/source/Core/IOHandlerCursesGUI.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Core/IOHandlerCursesGUI.cpp b/lldb/source/Core/IOHandlerCursesGUI.cpp
index 52d772c41ebc..52bf889456ce 100644
--- a/lldb/source/Core/IOHandlerCursesGUI.cpp
+++ b/lldb/source/Core/IOHandlerCursesGUI.cpp
@@ -3240,7 +3240,7 @@ class SourceFileWindowDelegate : public WindowDelegate {
         {'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"},
@@ -3818,8 +3818,8 @@ class SourceFileWindowDelegate : public WindowDelegate {
       }
       return eKeyHandled;
 
-    case 'o':
-      // 'o' == step out
+    case 'f':
+      // 'f' == step out (finish)
       {
         ExecutionContext exe_ctx =
             m_debugger.GetCommandInterpreter().GetExecutionContext();


        


More information about the lldb-commits mailing list