hanchenye-llvm-project/lldb/source/API
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
..
Makefile
SBAddress.cpp <rdar://problem/10126482> 2011-11-13 06:57:31 +00:00
SBBlock.cpp <rdar://problem/10126482> 2011-11-13 06:57:31 +00:00
SBBreakpoint.cpp Converted the lldb_private::Process over to use the intrusive 2011-09-22 04:58:26 +00:00
SBBreakpointLocation.cpp <rdar://problem/10126482> 2011-11-13 06:57:31 +00:00
SBBroadcaster.cpp
SBCommandInterpreter.cpp Fixed the Xcode project building of LLVM to be a bit more user friendly: 2011-11-04 03:34:56 +00:00
SBCommandReturnObject.cpp <rdar://problem/10126482> 2011-11-13 06:57:31 +00:00
SBCommunication.cpp
SBCompileUnit.cpp <rdar://problem/10126482> 2011-11-13 06:57:31 +00:00
SBData.cpp <rdar://problem/10126482> 2011-11-13 06:57:31 +00:00
SBDebugger.cpp <rdar://problem/10126482> 2011-11-13 06:57:31 +00:00
SBError.cpp Make ValueObject::SetValueFromCString work correctly. 2011-08-12 23:34:31 +00:00
SBEvent.cpp <rdar://problem/10126482> 2011-11-13 06:57:31 +00:00
SBFileSpec.cpp <rdar://problem/10126482> 2011-11-13 06:57:31 +00:00
SBFileSpecList.cpp <rdar://problem/10126482> 2011-11-13 06:57:31 +00:00
SBFrame.cpp <rdar://problem/10126482> 2011-11-13 06:57:31 +00:00
SBFunction.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
SBHostOS.cpp
SBInputReader.cpp
SBInstruction.cpp Fixed the public and internal disassembler API to be named correctly: 2011-09-27 00:58:45 +00:00
SBInstructionList.cpp
SBLineEntry.cpp <rdar://problem/10126482> 2011-11-13 06:57:31 +00:00
SBListener.cpp
SBModule.cpp <rdar://problem/10126482> 2011-11-13 06:57:31 +00:00
SBProcess.cpp Added a new class to Process.h: ProcessAttachInfo. This class contains enough 2011-11-15 03:53:30 +00:00
SBSection.cpp <rdar://problem/10126482> 2011-11-13 06:57:31 +00:00
SBSourceManager.cpp Fix regression of test SourceManagerTestCase.test_display_source_python. 2011-10-03 20:56:39 +00:00
SBStream.cpp
SBStringList.cpp
SBSymbol.cpp <rdar://problem/10126482> 2011-11-13 06:57:31 +00:00
SBSymbolContext.cpp <rdar://problem/10126482> 2011-11-13 06:57:31 +00:00
SBSymbolContextList.cpp Added the ability to find functions from either a SBModule (find functions 2011-06-21 01:34:41 +00:00
SBTarget.cpp Added a new class to Process.h: ProcessAttachInfo. This class contains enough 2011-11-15 03:53:30 +00:00
SBThread.cpp <rdar://problem/10126482> 2011-11-13 06:57:31 +00:00
SBType.cpp <rdar://problem/10126482> 2011-11-13 06:57:31 +00:00
SBValue.cpp <rdar://problem/10126482> 2011-11-13 06:57:31 +00:00
SBValueList.cpp Added support for finding and global variables in the SBTarget and SBModule 2011-06-29 22:09:02 +00:00
SBWatchpoint.cpp <rdar://problem/10126482> 2011-11-13 06:57:31 +00:00