[all-commits] [llvm/llvm-project] 47d2c7: [lldb] remove somewhat dangerous 'd'(etach) and 'k...

Luboš Luňák via All-commits all-commits at lists.llvm.org
Wed Jul 29 13:31:02 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 47d2c7cd5db4abe11f44fd540bceb73b8b4372d9
      https://github.com/llvm/llvm-project/commit/47d2c7cd5db4abe11f44fd540bceb73b8b4372d9
  Author: Luboš Luňák <l.lunak at centrum.cz>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M lldb/source/Core/IOHandlerCursesGUI.cpp

  Log Message:
  -----------
  [lldb] remove somewhat dangerous 'd'(etach) and 'k'(ill) shortcuts

'd' would be much better used for up/down shortcuts, and this also removes
the possibility of ruining the whole debugging session by accidentally
hitting 'd' or 'k'. Also change menu to have both 'detach and resume'
and 'detach suspended' to make it clear which one is which. See
discussion at https://reviews.llvm.org/D68541 .

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


  Commit: 336c7029ef3b7eff981d6c6990a6a255a4de236e
      https://github.com/llvm/llvm-project/commit/336c7029ef3b7eff981d6c6990a6a255a4de236e
  Author: Luboš Luňák <l.lunak at centrum.cz>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M lldb/source/Core/IOHandlerCursesGUI.cpp

  Log Message:
  -----------
  [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


  Commit: 13978643b678e226500d9d1ae8a003c8ed4b05ef
      https://github.com/llvm/llvm-project/commit/13978643b678e226500d9d1ae8a003c8ed4b05ef
  Author: Luboš Luňák <l.lunak at centrum.cz>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    A lldb/packages/Python/lldbsuite/test/commands/gui/basicdebug/Makefile
    A lldb/packages/Python/lldbsuite/test/commands/gui/basicdebug/TestGuiBasicDebug.py
    A lldb/packages/Python/lldbsuite/test/commands/gui/basicdebug/func.c
    A lldb/packages/Python/lldbsuite/test/commands/gui/basicdebug/main.c
    M lldb/source/Core/IOHandlerCursesGUI.cpp

  Log Message:
  -----------
  [lldb] implement 'up' and 'down' shortcuts in lldb gui

Also add a unittest.

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


Compare: https://github.com/llvm/llvm-project/compare/4f92ad508fcc...13978643b678


More information about the All-commits mailing list