llvm-project/lldb/source/Plugins/Process/gdb-remote
Greg Clayton 144f3a9c90 Added a new class to Process.h: ProcessAttachInfo. This class contains enough
info for us to attach by pid, or by name and will also allow us to eventually
do a lot more powerful attaches. If you look at the options for the "platform
process list" command, there are many options which we should be able to
specify. This will allow us to do things like "attach to a process named 'tcsh'
that has a parent process ID of 123", or "attach to a process named 'x' which
has an effective user ID of 345". 

I finished up the --shell implementation so that it can be used without the
--tty option in "process launch". The "--shell" option now can take an 
optional argument which is the path to the shell to use (or a partial name
like "sh" which we will find using the current PATH environment variable).

Modified the Process::Attach to use the new ProcessAttachInfo as the sole
argument and centralized a lot of code that was in the "process attach"
Execute function so that everyone can take advantage of the powerful new
attach functionality.

llvm-svn: 144615
2011-11-15 03:53:30 +00:00
..
GDBRemoteCommunication.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
GDBRemoteCommunication.h Switch from USEC_PER_SEC/NSEC_PER_SEC/NSEC_PER_USEC to TimeValue constants 2011-06-18 23:52:14 +00:00
GDBRemoteCommunicationClient.cpp Added a new class to Process.h: ProcessAttachInfo. This class contains enough 2011-11-15 03:53:30 +00:00
GDBRemoteCommunicationClient.h Centralize the code that gathers the thread ID list from the remote GDB 2011-05-20 23:38:13 +00:00
GDBRemoteCommunicationServer.cpp Added a new class to Process.h: ProcessAttachInfo. This class contains enough 2011-11-15 03:53:30 +00:00
GDBRemoteCommunicationServer.h Improved the packet throughput when debugging with GDB remote by over 3x on 2011-06-17 01:22:15 +00:00
GDBRemoteRegisterContext.cpp Moved lldb::user_id_t values to be 64 bit. This was going to be needed for 2011-10-19 18:09:39 +00:00
GDBRemoteRegisterContext.h Fixed some issues with ARM backtraces by not processing any push/pop 2011-07-06 04:07:21 +00:00
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00
ProcessGDBRemote.cpp <rdar://problem/10103980> 2011-11-13 04:45:22 +00:00
ProcessGDBRemote.h <rdar://problem/10103980> 2011-11-13 04:45:22 +00:00
ProcessGDBRemoteLog.cpp Fixed the logging output to be done consistently across all plug-ins. 2011-09-12 04:05:41 +00:00
ProcessGDBRemoteLog.h Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
ThreadGDBRemote.cpp Moved lldb::user_id_t values to be 64 bit. This was going to be needed for 2011-10-19 18:09:39 +00:00
ThreadGDBRemote.h Added a new plug-in type: lldb_private::OperatingSystem. The operating system 2011-08-22 02:49:39 +00:00