[lldb] [gdb-remote] Report QPassSignals and qXfer via extensions API
authorMichał Górny <mgorny@moritz.systems>
Sat, 24 Apr 2021 20:36:20 +0000 (22:36 +0200)
committerMichał Górny <mgorny@moritz.systems>
Tue, 27 Apr 2021 17:34:00 +0000 (19:34 +0200)
commitca7824c2a8dbf3e37734e10e77003acd34d0868a
tree42263edf5e48807a546e7230bca3ec761e5e092e
parent887bdff8bae74ae0cedadbbe35f39141da3642c9
[lldb] [gdb-remote] Report QPassSignals and qXfer via extensions API

Remove hardcoded platform list for QPassSignals, qXfer:auxv:read
and qXfer:libraries-svr4:read and instead query the process plugin
via the GetSupportedExtensions() API.

Differential Revision: https://reviews.llvm.org/D101241
lldb/include/lldb/Host/common/NativeProcessProtocol.h
lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp
lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
lldb/test/API/tools/lldb-server/signal-filtering/TestGdbRemote_QPassSignals.py