forked from OSchip/llvm-project
[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:
parent
47d2c7cd5d
commit
336c7029ef
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue