[lldb] Add debugger.external-editor setting
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 1 May 2023 21:08:43 +0000 (14:08 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 1 May 2023 21:11:11 +0000 (14:11 -0700)
commitb12b35ad4bec98c028a1926e4891e746b1f55d2f
tree1811a007aec03b44722ed93b95912ffcc86c9203
parentb2fdb1417bf9dd915a99c075bcdeeb6ca6b8e2d1
[lldb] Add debugger.external-editor setting

Add a new setting (debugger.external-editor) to specify an external
editor. The setting takes precedence over the existing
LLDB_EXTERNAL_EDITOR environment variable.

Differential revision: https://reviews.llvm.org/D149565
lldb/include/lldb/Core/Debugger.h
lldb/include/lldb/Host/Host.h
lldb/source/Core/CoreProperties.td
lldb/source/Core/Debugger.cpp
lldb/source/Host/common/Host.cpp
lldb/source/Host/macosx/objcxx/Host.mm
lldb/source/Interpreter/CommandInterpreter.cpp
lldb/source/Target/Thread.cpp
lldb/test/Shell/Settings/TestExternalEditor.test [new file with mode: 0644]