hanchenye-llvm-project/lldb/source/Interpreter
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
..
Args.cpp Added a new class to Process.h: ProcessAttachInfo. This class contains enough 2011-11-15 03:53:30 +00:00
CommandInterpreter.cpp Confirm should accept both "Y" and "y" in case somebody confuses the "default answer" indicator for a 2011-11-14 20:02:01 +00:00
CommandObject.cpp this patch addresses several issues with "command script" subcommands: 2011-11-07 22:57:04 +00:00
CommandObjectRegexCommand.cpp
CommandObjectScript.cpp More cleanups ; Separated implementation of FormatManager from class DataVisualization as a front-end by using separate .h/.cpp files - Final aim is to break up FormatManager.h/cpp into several separate files 2011-08-22 22:03:47 +00:00
CommandObjectScript.h
CommandReturnObject.cpp Added a new class to Process.h: ProcessAttachInfo. This class contains enough 2011-11-15 03:53:30 +00:00
Makefile build: Fix SWIG include paths on Darwin. 2011-10-31 22:51:14 +00:00
NamedOptionValue.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
OptionGroupArchitecture.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
OptionGroupBoolean.cpp Headers have been moved to /includes/lldb/Interpreter. This patch 2011-05-13 20:21:08 +00:00
OptionGroupFile.cpp Added "target variable" command that allows introspection of global 2011-07-07 01:59:51 +00:00
OptionGroupFormat.cpp Fixed the GDB format to allow the size and format characters to come in any 2011-10-28 23:27:55 +00:00
OptionGroupOutputFile.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
OptionGroupPlatform.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
OptionGroupUInt64.cpp Headers have been moved to /includes/lldb/Interpreter. This patch 2011-05-13 20:21:08 +00:00
OptionGroupUUID.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
OptionGroupValueObjectDisplay.cpp A simple fix for the GDB format strings so the byte size parameter gets 2011-10-26 04:32:38 +00:00
OptionGroupVariable.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
OptionGroupWatchpoint.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
Options.cpp Fixed some warnings after enabling some stricter warnings in the Xcode project 2011-10-31 23:51:19 +00:00
ScriptInterpreter.cpp Fixed the Xcode project building of LLVM to be a bit more user friendly: 2011-11-04 03:34:56 +00:00
ScriptInterpreterNone.cpp
ScriptInterpreterPython.cpp this patch addresses several issues with "command script" subcommands: 2011-11-07 22:57:04 +00:00
embedded_interpreter.py