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"},
|
{'h', "Show help dialog"},
|
||||||
{'n', "Step over (source line)"},
|
{'n', "Step over (source line)"},
|
||||||
{'N', "Step over (single instruction)"},
|
{'N', "Step over (single instruction)"},
|
||||||
{'o', "Step out"},
|
{'f', "Step out (finish)"},
|
||||||
{'s', "Step in (source line)"},
|
{'s', "Step in (source line)"},
|
||||||
{'S', "Step in (single instruction)"},
|
{'S', "Step in (single instruction)"},
|
||||||
{',', "Page up"},
|
{',', "Page up"},
|
||||||
|
@ -3818,8 +3818,8 @@ public:
|
||||||
}
|
}
|
||||||
return eKeyHandled;
|
return eKeyHandled;
|
||||||
|
|
||||||
case 'o':
|
case 'f':
|
||||||
// 'o' == step out
|
// 'f' == step out (finish)
|
||||||
{
|
{
|
||||||
ExecutionContext exe_ctx =
|
ExecutionContext exe_ctx =
|
||||||
m_debugger.GetCommandInterpreter().GetExecutionContext();
|
m_debugger.GetCommandInterpreter().GetExecutionContext();
|
||||||
|
|
Loading…
Reference in New Issue