llvm-project/lldb/tools/debugserver/source/MacOSX
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
..
arm Fixed Process::Halt() as it was broken for "process halt" after recent changes 2010-11-18 05:57:03 +00:00
i386 Thread safety changes in debugserver and also in the process GDB remote plugin. 2011-01-18 19:36:39 +00:00
ppc Fixed Process::Halt() as it was broken for "process halt" after recent changes 2010-11-18 05:57:03 +00:00
x86_64 Took the timeout for a ClangUserExpression down from a 10 second timeout to 2011-01-19 07:54:15 +00:00
CFBundle.cpp
CFBundle.h
CFData.cpp
CFData.h
CFString.cpp
CFString.h
CFUtils.h
MachDYLD.cpp
MachDYLD.h
MachException.cpp
MachException.h
MachProcess.cpp Fixed CommandReturnObject::SetImmediateErrorFile() to set the correct stream. 2011-02-24 22:24:29 +00:00
MachProcess.h Fixed CommandReturnObject::SetImmediateErrorFile() to set the correct stream. 2011-02-24 22:24:29 +00:00
MachTask.cpp Add a (currently disabled) bear trap where instead of deallocating pages, we remove all permissions. 2011-01-22 01:22:51 +00:00
MachTask.h Retry task_for_pid a few times to avoid some cases where task_for_pid fails. 2010-09-30 18:10:44 +00:00
MachThread.cpp The thread_info changes over the life of the thread, so you can't get it once and cache it, you have to fetch it every time you want to use it. 2011-01-28 02:21:37 +00:00
MachThread.h Reverting recent thread resume changes as it was causing testing issues. 2011-01-25 06:55:13 +00:00
MachThreadList.cpp Rework the RunThreadPlan event handling to use Event Hijacking not stopping the event thread. Also clarify the logic of the function. 2011-02-08 05:20:59 +00:00
MachThreadList.h Added logging for threads that are spawned while we stop. We log their 2011-01-24 06:11:50 +00:00
MachVMMemory.cpp
MachVMMemory.h
MachVMRegion.cpp
MachVMRegion.h
dbgnub-mig.defs