llvm-project/lldb/source/Target
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
..
ABI.cpp Made lldb_private::ArchSpec contain much more than just an architecture. It 2011-02-15 21:59:32 +00:00
CPPLanguageRuntime.cpp Add "-o" option to "expression" which prints the object description if available. 2010-09-30 00:54:27 +00:00
ExecutionContext.cpp Fixed issues with RegisterContext classes and the subclasses. There was 2011-01-06 22:15:06 +00:00
LanguageRuntime.cpp Replace the vestigial Value::GetOpaqueCLangQualType with the more correct Value::GetValueOpaqueClangQualType. 2010-09-28 01:25:32 +00:00
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00
ObjCLanguageRuntime.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
PathMappingList.cpp Minor warning/error fixes. 2010-06-09 09:32:42 +00:00
Process.cpp Fixed CommandReturnObject::SetImmediateErrorFile() to set the correct stream. 2011-02-24 22:24:29 +00:00
RegisterContext.cpp Endian patch from Kirk Beitz that allows better cross platform building. 2011-02-01 01:31:41 +00:00
SectionLoadList.cpp Added a quicker lookup in the SectionLoadList when looking things up by 2011-02-05 02:25:06 +00:00
StackFrame.cpp Made lldb_private::ArchSpec contain much more than just an architecture. It 2011-02-15 21:59:32 +00:00
StackFrameList.cpp Fixed issues with RegisterContext classes and the subclasses. There was 2011-01-06 22:15:06 +00:00
StackID.cpp Added a new bool parameter to many of the DumpStopContext() methods that 2010-09-02 21:44:10 +00:00
StopInfo.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
Target.cpp Abtracted all mach-o and ELF out of ArchSpec. This patch is a modified form 2011-02-23 00:35:02 +00:00
TargetList.cpp Abtracted all mach-o and ELF out of ArchSpec. This patch is a modified form 2011-02-23 00:35:02 +00:00
Thread.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
ThreadList.cpp Fix a crasher when you have no log. 2011-01-24 05:36:47 +00:00
ThreadPlan.cpp Fixed issues with RegisterContext classes and the subclasses. There was 2011-01-06 22:15:06 +00:00
ThreadPlanBase.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
ThreadPlanCallFunction.cpp Make sure that if a CallFunction thread plan crashes while running in the "run to address" mode, and it 2011-01-26 19:13:09 +00:00
ThreadPlanCallUserExpression.cpp Added support for generating expressions that have 2010-12-13 22:46:15 +00:00
ThreadPlanRunToAddress.cpp Typo in looking up the stored address breakpoints, could cause us to look too far for breakpoints. 2011-01-26 19:10:34 +00:00
ThreadPlanShouldStopHere.cpp Enabled extra warnings and fixed a bunch of small issues. 2011-01-25 23:55:37 +00:00
ThreadPlanStepInRange.cpp Made lldb_private::ArchSpec contain much more than just an architecture. It 2011-02-15 21:59:32 +00:00
ThreadPlanStepInstruction.cpp Made lldb_private::ArchSpec contain much more than just an architecture. It 2011-02-15 21:59:32 +00:00
ThreadPlanStepOut.cpp Patches from Jean-Daniel: 2011-02-04 17:21:08 +00:00
ThreadPlanStepOverBreakpoint.cpp Add ThreadPlanTracer class to allow instruction step tracing of execution. 2010-11-11 19:26:09 +00:00
ThreadPlanStepOverRange.cpp Made lldb_private::ArchSpec contain much more than just an architecture. It 2011-02-15 21:59:32 +00:00
ThreadPlanStepRange.cpp Formatting. 2011-02-08 04:27:50 +00:00
ThreadPlanStepThrough.cpp Add ThreadPlanTracer class to allow instruction step tracing of execution. 2010-11-11 19:26:09 +00:00
ThreadPlanStepUntil.cpp Added support for stepping out of a frame. If you have 10 stack frames, and you 2011-01-21 06:11:58 +00:00
ThreadPlanTestCondition.cpp Modified LLDB expressions to not have to JIT and run code just to see variable 2010-12-14 02:59:59 +00:00
ThreadPlanTracer.cpp Remove bzero use and replace with memset (patch from Kirk Beitz). 2011-02-04 21:13:05 +00:00
ThreadSpec.cpp Fixed an error where the thread index was being returned as zero in "uint32_t SBBreakpoint::GetThreadIndex() const" even when it isn't specified. It should be UINT32_MAX to indicate there is no thread index set for the breakpoint (the breakpoint isn't thread specific). Also fixed the ThreadSpec.cpp to use UINT32_MAX instead of -1. Fixed the logging Printf statement in "uint32_t SBBreakpoint::GetThreadIndex() const" to not print the address of the "index" function from <string.h>! 2010-12-15 20:50:06 +00:00
UnixSignals.cpp Back up both the register AND the stop state when calling functions. 2011-01-20 02:03:18 +00:00