llvm-project/lldb/tools/debugserver/source
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
..
MacOSX Fixed CommandReturnObject::SetImmediateErrorFile() to set the correct stream. 2011-02-24 22:24:29 +00:00
ARM_DWARF_Registers.h Got the ARM version of debugserver up to date. 2010-09-09 06:32:46 +00:00
ARM_GCC_Registers.h Got the ARM version of debugserver up to date. 2010-09-09 06:32:46 +00:00
ChangeLog Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
DNB.cpp Fixed CommandReturnObject::SetImmediateErrorFile() to set the correct stream. 2011-02-24 22:24:29 +00:00
DNB.h Fixed CommandReturnObject::SetImmediateErrorFile() to set the correct stream. 2011-02-24 22:24:29 +00:00
DNBArch.cpp Fixed CommandReturnObject::SetImmediateErrorFile() to set the correct stream. 2011-02-24 22:24:29 +00:00
DNBArch.h Fixed 32 bit debugging after recent architecture changes to debugserver. 2010-12-01 22:45:40 +00:00
DNBBreakpoint.cpp Took the timeout for a ClangUserExpression down from a 10 second timeout to 2011-01-19 07:54:15 +00:00
DNBBreakpoint.h Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
DNBDataRef.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
DNBDataRef.h Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
DNBDefs.h Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
DNBError.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
DNBError.h Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
DNBLog.cpp Added the ability to detect which vCont packets (using the "vCont?") packet 2011-02-12 06:28:37 +00:00
DNBLog.h Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
DNBRegisterInfo.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
DNBRegisterInfo.h Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
DNBRuntimeAction.h Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
DNBThreadResumeActions.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
DNBThreadResumeActions.h Thread safety changes in debugserver and also in the process GDB remote plugin. 2011-01-18 19:36:39 +00:00
DNBTimer.h Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
FunctionProfiler.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
FunctionProfiler.h Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
PThreadCondition.h Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
PThreadEvent.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
PThreadEvent.h Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
PThreadMutex.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
PThreadMutex.h Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
ProfileObjectiveC.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
ProfileObjectiveC.h Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
PseudoTerminal.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
PseudoTerminal.h Another patch from Jean-Daniel. Thanks. 2010-09-28 16:34:56 +00:00
RNBContext.cpp Fixed an issue in "SBError SBProcess::Destroy ()" where it wasn't properly 2011-01-22 23:43:18 +00:00
RNBContext.h Fixed CommandReturnObject::SetImmediateErrorFile() to set the correct stream. 2011-02-24 22:24:29 +00:00
RNBDefs.h Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
RNBRemote.cpp Fixed CommandReturnObject::SetImmediateErrorFile() to set the correct stream. 2011-02-24 22:24:29 +00:00
RNBRemote.h Fixed CommandReturnObject::SetImmediateErrorFile() to set the correct stream. 2011-02-24 22:24:29 +00:00
RNBServices.cpp Got the ARM version of debugserver up to date. 2010-09-09 06:32:46 +00:00
RNBServices.h Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
RNBSocket.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
RNBSocket.h Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
SysSignal.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
SysSignal.h Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
TTYState.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
TTYState.h Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
com.apple.debugserver.applist.plist Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
com.apple.debugserver.plist Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
debugserver-entitlements.plist Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
debugserver.cpp Fixed CommandReturnObject::SetImmediateErrorFile() to set the correct stream. 2011-02-24 22:24:29 +00:00