[lldb] Replace NativeProcess delegate list with a single delegate
authorPavel Labath <pavel@labath.sk>
Tue, 13 Apr 2021 07:25:37 +0000 (09:25 +0200)
committerPavel Labath <pavel@labath.sk>
Tue, 13 Apr 2021 07:49:38 +0000 (09:49 +0200)
commitc9cf394f796e181b9ee3bc9b69d84fbbba2fe45c
treee7b4ff511b7997b3d59e54a91dd6b05b284cfb4a
parentaa6eb2af10094e427827343b67b25d606dde10b7
[lldb] Replace NativeProcess delegate list with a single delegate

In all this time, we've never used more than one delegate. The logic to
support multiple delegates is therefore untested, and becomes
particularly unwieldy once we need to support multiple processes.

Just remove it.
lldb/include/lldb/Host/common/NativeProcessProtocol.h
lldb/source/Host/common/NativeProcessProtocol.cpp
lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp
lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp