llvm-project/lldb/source/Commands
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
..
CommandCompletions.cpp Added an API to SymbolContext to hide the complexity of getting the 2011-09-27 19:48:20 +00:00
CommandObjectApropos.cpp General cleanup on the UserSettingsController stuff. There were 5 different 2011-04-19 22:32:36 +00:00
CommandObjectApropos.h Fixed the way set/show variables were being accessed to being natively 2010-09-18 01:14:36 +00:00
CommandObjectArgs.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
CommandObjectArgs.h Added two new classes for command options: 2011-04-13 00:18:08 +00:00
CommandObjectBreakpoint.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
CommandObjectBreakpoint.h Added the ability to restrict breakpoints by function name, function regexp, selector 2011-09-23 00:54:11 +00:00
CommandObjectBreakpointCommand.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
CommandObjectBreakpointCommand.h Change the command 'breakpoint command remove' to 'breakpoint command delete', 2011-05-22 07:14:46 +00:00
CommandObjectCommands.cpp Fix help strings that refer to the "commands" top-level noun. 2011-11-10 22:43:35 +00:00
CommandObjectCommands.h Fix GetRepeatCommand so it works with multi-word commands. 2010-07-07 03:36:20 +00:00
CommandObjectCrossref.cpp Fixed the way set/show variables were being accessed to being natively 2010-09-18 01:14:36 +00:00
CommandObjectDisassemble.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
CommandObjectDisassemble.h disassemble with no arguments disassembles at the pc. Also got "disassemble -f" to work, that had gotten broken at some point in the past. 2011-09-01 01:11:04 +00:00
CommandObjectExpression.cpp Added a function to the Host that gets a dummy target 2011-10-27 21:22:25 +00:00
CommandObjectExpression.h Updated all commands that use a "--format" / "-f" options to use the new 2011-10-25 06:44:01 +00:00
CommandObjectFrame.cpp Added support for the new ".apple_objc" accelerator tables. These tables are 2011-10-27 17:55:14 +00:00
CommandObjectFrame.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectHelp.cpp Add an example customization directory which uses a binutils.py module to provide 2011-10-28 23:30:28 +00:00
CommandObjectHelp.h Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
CommandObjectLog.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
CommandObjectLog.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectMemory.cpp Fixed the continuation dumping of instructions to properly advance the 2011-10-28 23:44:55 +00:00
CommandObjectMemory.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectMultiword.cpp - Changed all the places where CommandObjectReturn was exporting a StreamString to just exporting 2011-02-19 02:53:09 +00:00
CommandObjectPlatform.cpp Added a new class to Process.h: ProcessAttachInfo. This class contains enough 2011-11-15 03:53:30 +00:00
CommandObjectPlatform.h Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
CommandObjectProcess.cpp Added a new class to Process.h: ProcessAttachInfo. This class contains enough 2011-11-15 03:53:30 +00:00
CommandObjectProcess.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectQuit.cpp Fixed the way set/show variables were being accessed to being natively 2010-09-18 01:14:36 +00:00
CommandObjectQuit.h Fixed the way set/show variables were being accessed to being natively 2010-09-18 01:14:36 +00:00
CommandObjectRegister.cpp Added support for the new ".apple_objc" accelerator tables. These tables are 2011-10-27 17:55:14 +00:00
CommandObjectRegister.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectSettings.cpp Moved many of the "settings" that used to be in "target.process.*" to just 2011-11-08 02:43:13 +00:00
CommandObjectSettings.h Added two new classes for command options: 2011-04-13 00:18:08 +00:00
CommandObjectSource.cpp "source list -n" should use eFunctionNameTypeAuto not eFunctionNameTypeBase for the name lookup. 2011-11-09 19:02:04 +00:00
CommandObjectSource.h Fix GetRepeatCommand so it works with multi-word commands. 2010-07-07 03:36:20 +00:00
CommandObjectSyntax.cpp Modify existing commands with arguments to use the new argument mechanism 2010-10-04 22:28:36 +00:00
CommandObjectSyntax.h Fixed the way set/show variables were being accessed to being natively 2010-09-18 01:14:36 +00:00
CommandObjectTarget.cpp <rdar://problem/10338439> 2011-11-13 04:15:56 +00:00
CommandObjectTarget.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectThread.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
CommandObjectThread.h Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
CommandObjectType.cpp this patch addresses several issues with "command script" subcommands: 2011-11-07 22:57:04 +00:00
CommandObjectType.h Fixed the Xcode project building of LLVM to be a bit more user friendly: 2011-11-04 03:34:56 +00:00
CommandObjectVersion.cpp - Changed all the places where CommandObjectReturn was exporting a StreamString to just exporting 2011-02-19 02:53:09 +00:00
CommandObjectVersion.h Add a simple command: 'version' to the command interpreter, and an accompanying 2010-12-23 20:21:44 +00:00
CommandObjectWatchpoint.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
CommandObjectWatchpoint.h Add a commnad to set a condition for a watchpoint. Example: 2011-10-17 18:58:00 +00:00
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00