llvm-project/lldb/source/Target
Greg Clayton 3af9ea56d3 Fixed Process::Halt() as it was broken for "process halt" after recent changes
to the DoHalt down in ProcessGDBRemote. I also moved the functionality that
was in ProcessGDBRemote::DoHalt up into Process::Halt so not every class has
to implement a tricky halt/resume on the internal state thread. The 
functionality is the same as it was before with two changes:
- when we eat the event we now just reuse the event we consume when the private
  state thread is paused and set the interrupted bool on the event if needed
- we also properly update the Process::m_public_state with the state of the
  event we consume.
  
Prior to this, if you issued a "process halt" it would eat the event, not 
update the process state, and then produce a new event with the interrupted
bit set and send it. Anyone listening to the event would get the stopped event
with a process that whose state was set to "running".

Fixed debugserver to not have to be spawned with the architecture of the
inferior process. This worked fine for launching processes, but when attaching
to processes by name or pid without a file in lldb, it would fail.

Now debugserver can support multiple architectures for a native debug session
on the current host. This currently means i386 and x86_64 are supported in
the same binary and a x86_64 debugserver can attach to a i386 executable.
This change involved a lot of changes to make sure we dynamically detect the
correct registers for the inferior process.

llvm-svn: 119680
2010-11-18 05:57:03 +00:00
..
ABI.cpp
CPPLanguageRuntime.cpp Add "-o" option to "expression" which prints the object description if available. 2010-09-30 00:54:27 +00:00
ExecutionContext.cpp There are now to new "settings set" variables that live in each debugger 2010-10-04 01:05:56 +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 Process::Halt() as it was broken for "process halt" after recent changes 2010-11-18 05:57:03 +00:00
RegisterContext.cpp Check in the native lldb unwinder. 2010-10-25 11:12:07 +00:00
SectionLoadList.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
StackFrame.cpp Fixed StackFrame::GetVariableList to add global 2010-11-01 04:38:59 +00:00
StackFrameList.cpp There are now to new "settings set" variables that live in each debugger 2010-10-04 01:05:56 +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 Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
Target.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
TargetList.cpp Added a new Host call to find LLDB related paths: 2010-10-17 22:03:32 +00:00
Thread.cpp The thread plan destructors may call Thread virtual methods. That means they have to get cleaned up in the derived class's destructor. Make sure that happens. 2010-11-18 02:47:07 +00:00
ThreadList.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
ThreadPlan.cpp Add ThreadPlanTracer class to allow instruction step tracing of execution. 2010-11-11 19:26:09 +00:00
ThreadPlanBase.cpp The thread plan destructors may call Thread virtual methods. That means they have to get cleaned up in the derived class's destructor. Make sure that happens. 2010-11-18 02:47:07 +00:00
ThreadPlanCallFunction.cpp Excised a version of the low-level function calling 2010-11-12 01:37:02 +00:00
ThreadPlanRunToAddress.cpp Add ThreadPlanTracer class to allow instruction step tracing of execution. 2010-11-11 19:26:09 +00:00
ThreadPlanShouldStopHere.cpp
ThreadPlanStepInRange.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
ThreadPlanStepInstruction.cpp Add ThreadPlanTracer class to allow instruction step tracing of execution. 2010-11-11 19:26:09 +00:00
ThreadPlanStepOut.cpp Add ThreadPlanTracer class to allow instruction step tracing of execution. 2010-11-11 19:26:09 +00:00
ThreadPlanStepOverBreakpoint.cpp Add ThreadPlanTracer class to allow instruction step tracing of execution. 2010-11-11 19:26:09 +00:00
ThreadPlanStepOverRange.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
ThreadPlanStepRange.cpp Add ThreadPlanTracer class to allow instruction step tracing of execution. 2010-11-11 19:26:09 +00:00
ThreadPlanStepThrough.cpp Add ThreadPlanTracer class to allow instruction step tracing of execution. 2010-11-11 19:26:09 +00:00
ThreadPlanStepUntil.cpp Add ThreadPlanTracer class to allow instruction step tracing of execution. 2010-11-11 19:26:09 +00:00
ThreadPlanTestCondition.cpp Add ThreadPlanTracer class to allow instruction step tracing of execution. 2010-11-11 19:26:09 +00:00
ThreadPlanTracer.cpp Add a missing newline to the ThreadPlanAssemblyTracer output. 2010-11-17 20:40:29 +00:00
ThreadSpec.cpp Change the Breakpoint & BreakpointLocation GetDescription methods so they call the BreakpointOptions::GetDescription rather 2010-06-18 01:00:58 +00:00
UnixSignals.cpp Fixed the UnixSignals class to be able to get a signal by name, short name, or signal number when using: 2010-10-15 23:16:40 +00:00