llvm-project/lldb/source/Commands
Greg Clayton 7133762232 Fixed CommandReturnObject::SetImmediateErrorFile() to set the correct stream.
Modifed lldb_private::Process to be able to handle connecting to a remote 
target that isn't running a process. This leaves lldb_private::Process in the
eStateConnected state from which we can then do an attach or launch.

Modified ProcessGDBRemote to be able to set stdin, stdout, stderr, working
dir, disable ASLR and a few other settings down by using new GDB remote 
packets. This allows us to keep all of our current launch flags and settings
intact and still be able to communicate them over to the remote GDB server.
Previously these were being sent as arguments to the debugserver binary that
we were spawning. Also modified ProcessGDBRemote to handle losing connection
to the remote GDB server and always exit immediately. We do this by watching
the lldb_private::Communication event bit for the read thread exiting in the
ProcessGDBRemote async thread.

Added support for many of the new 'Q' packets for setting stdin, stdout,
stderr, working dir and disable ASLR to the GDBRemoteCommunication class for
easy accesss.

Modified debugserver for all of the new 'Q' packets and also made it so that
debugserver always exists if it loses connection with the remote debugger.

llvm-svn: 126444
2011-02-24 22:24:29 +00:00
..
CommandCompletions.cpp Add FileSpec::ResolvePartialUsername, and use it in CommandCompletions to isolate pwd.h in the Host layer. 2011-02-08 23:24:09 +00:00
CommandObjectApropos.cpp Modify 'apropos' command to search settings variable descriptions as well. 2011-02-04 00:16:49 +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 A few of the issue I have been trying to track down and fix have been due to 2011-01-17 03:46:26 +00:00
CommandObjectArgs.h Fixed the way set/show variables were being accessed to being natively 2010-09-18 01:14:36 +00:00
CommandObjectBreakpoint.cpp - Changed all the places where CommandObjectReturn was exporting a StreamString to just exporting 2011-02-19 02:53:09 +00:00
CommandObjectBreakpoint.h Header patch, virtual dtor patch and missed UUID patch from Kirk Beitz. 2011-02-05 02:56:16 +00:00
CommandObjectBreakpointCommand.cpp - Changed all the places where CommandObjectReturn was exporting a StreamString to just exporting 2011-02-19 02:53:09 +00:00
CommandObjectBreakpointCommand.h Factor all the code that does "Execute a list of lldb command interpreter commands" into a single function in the Interpreter, and then use that in all the places that used to do this by hand. 2011-02-18 00:54:25 +00:00
CommandObjectCommands.cpp Factor all the code that does "Execute a list of lldb command interpreter commands" into a single function in the Interpreter, and then use that in all the places that used to do this by hand. 2011-02-18 00:54:25 +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 Abtracted all mach-o and ELF out of ArchSpec. This patch is a modified form 2011-02-23 00:35:02 +00:00
CommandObjectDisassemble.h Fixed the way set/show variables were being accessed to being natively 2010-09-18 01:14:36 +00:00
CommandObjectExpression.cpp Implemented a major overhaul of the way variables are handled 2011-01-13 08:53:35 +00:00
CommandObjectExpression.h Added the equivalent of gdb's "unwind-on-signal" to the expression command, and a parameter to control it in ClangUserExpression, and on down to ClangFunction. 2010-11-05 19:25:48 +00:00
CommandObjectFile.cpp Abtracted all mach-o and ELF out of ArchSpec. This patch is a modified form 2011-02-23 00:35:02 +00:00
CommandObjectFile.h Fixed the way set/show variables were being accessed to being natively 2010-09-18 01:14:36 +00:00
CommandObjectFrame.cpp Endian patch from Kirk Beitz that allows better cross platform building. 2011-02-01 01:31:41 +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 - Fix alias-building & resolving to properly handle optional arguments for command options. 2010-12-07 19:58:26 +00:00
CommandObjectHelp.h Fixed the way set/show variables were being accessed to being natively 2010-09-18 01:14:36 +00:00
CommandObjectImage.cpp Abtracted all mach-o and ELF out of ArchSpec. This patch is a modified form 2011-02-23 00:35:02 +00:00
CommandObjectImage.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectLog.cpp Use Host::File in lldb_private::StreamFile and other places to cleanup host 2011-02-09 01:08:52 +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 Made lldb_private::ArchSpec contain much more than just an architecture. It 2011-02-15 21:59:32 +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
CommandObjectProcess.cpp Fixed CommandReturnObject::SetImmediateErrorFile() to set the correct stream. 2011-02-24 22:24:29 +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 - Changed all the places where CommandObjectReturn was exporting a StreamString to just exporting 2011-02-19 02:53:09 +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 Recent modifications to the Python script interpreter caused some problems 2011-01-14 21:09:29 +00:00
CommandObjectSettings.h Fixed the way set/show variables were being accessed to being natively 2010-09-18 01:14:36 +00:00
CommandObjectSource.cpp Moved FileSpec into the Host layer since it will vary from host to host. 2011-02-08 05:05:52 +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 Add a test case test_image_search_paths() to test lldb's ability to do image search paths 2011-02-03 00:30:19 +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 - Changed all the places where CommandObjectReturn was exporting a StreamString to just exporting 2011-02-19 02:53:09 +00:00
CommandObjectThread.h Add -c (count - i.e. number of frames to show) and -s (start frame.) 2010-08-26 23:36:03 +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
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00