[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
This commit is contained in:
Luboš Luňák 2019-10-11 21:59:50 +02:00
parent 47d2c7cd5d
commit 336c7029ef
1 changed files with 3 additions and 3 deletions

View File

@ -3240,7 +3240,7 @@ public:
{'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 @@ public:
}
return eKeyHandled;
case 'o':
// 'o' == step out
case 'f':
// 'f' == step out (finish)
{
ExecutionContext exe_ctx =
m_debugger.GetCommandInterpreter().GetExecutionContext();