llvm-project/lldb/source/Plugins/Process/gdb-remote
Pavel Labath 5ad891f719 Unify process launching code on linux
Summary:
We've had two copies of code for launching processes:
- one in NativeProcessLinux, used for launching debugged processes
- one in ProcessLauncherAndroid, used on android for launching all other kinds of processes

These have over time acquired support for various launch options, but neither supported all of
them. I now replace them with a single implementation ProcessLauncherLinux, which supports all
the options the individual versions supported and set it to be used to launch all processes on
linux.

This also works around the ETXTBSY issue on android when the process is started from the platform
instance, as that used to go through the version which did not contain the workaround.

Reviewers: tberghammer

Subscribers: tberghammer, danalbert, srhines, lldb-commits

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

llvm-svn: 276288
2016-07-21 14:54:03 +00:00
..
CMakeLists.txt [cmake] Remove LLVM_NO_RTTI. 2015-09-03 08:46:55 +00:00
GDBRemoteCommunication.cpp Implement ProcessInfo::Dump(), log gdb-remote stub launch 2016-05-31 18:32:20 +00:00
GDBRemoteCommunication.h Modify "platform connect" to connect to processes as well 2015-12-08 14:08:19 +00:00
GDBRemoteCommunicationClient.cpp Typo corrections identified by codespell 2016-07-19 15:28:02 +00:00
GDBRemoteCommunicationClient.h remove use of Mutex in favour of std::{,recursive_}mutex 2016-05-18 01:59:10 +00:00
GDBRemoteCommunicationServer.cpp Introduce a MainLoop class and switch llgs to use it 2015-07-13 10:44:55 +00:00
GDBRemoteCommunicationServer.h Fix Clang-tidy modernize-use-override warnings in some files in source/Plugins; other minor fixes. 2015-10-24 01:08:35 +00:00
GDBRemoteCommunicationServerCommon.cpp Unify process launching code on linux 2016-07-21 14:54:03 +00:00
GDBRemoteCommunicationServerCommon.h remove use of Mutex in favour of std::{,recursive_}mutex 2016-05-18 01:59:10 +00:00
GDBRemoteCommunicationServerLLGS.cpp Unify process launching code on linux 2016-07-21 14:54:03 +00:00
GDBRemoteCommunicationServerLLGS.h Remove platform plugins from lldb-server 2016-06-29 13:58:27 +00:00
GDBRemoteCommunicationServerPlatform.cpp Remove platform plugins from lldb-server 2016-06-29 13:58:27 +00:00
GDBRemoteCommunicationServerPlatform.h Remove platform plugins from lldb-server 2016-06-29 13:58:27 +00:00
GDBRemoteRegisterContext.cpp Use Process Plugin register indices when communicating with remote 2016-04-25 20:59:11 +00:00
GDBRemoteRegisterContext.h The lldb side changes to go along with r255711 where a new 2015-12-18 00:45:35 +00:00
ProcessGDBRemote.cpp Add a new DynamicLoader plugin that uses SPI that are in development 2016-07-21 08:30:55 +00:00
ProcessGDBRemote.h Add a new DynamicLoader plugin that uses SPI that are in development 2016-07-21 08:30:55 +00:00
ProcessGDBRemoteLog.cpp Move several plugin to its own namespace 2015-03-31 09:52:22 +00:00
ProcessGDBRemoteLog.h Move several plugin to its own namespace 2015-03-31 09:52:22 +00:00
ThreadGDBRemote.cpp Changes to lldb and debugserver to reduce extraneous memory reads 2016-01-12 07:09:16 +00:00
ThreadGDBRemote.h Changes to lldb and debugserver to reduce extraneous memory reads 2016-01-12 07:09:16 +00:00