Fix broken TestMultithreaded on Linux.

The clean line is failing under Ubuntu 12.04/gcc.  It cleans fine
without it on MacOSX.  It doesn't clean right on Linux but at least
now it doesn't fail the test.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@208713 91177308-0d34-0410-b5e6-96231b3b80d8
Add a new SBThread::SafeToCallFunctions API; this calls over to
the SystemRuntime to check if a thread will have any problems 
performing an inferior function call so the driver can skip
making that function call on that thread.  Often the function
call can be executed on another thread instead.
<rdar://problem/16777874> 


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@208732 91177308-0d34-0410-b5e6-96231b3b80d8
Fix the quoting in my x packet documentation so it's
consistent with the rest of the entries.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@208736 91177308-0d34-0410-b5e6-96231b3b80d8
lldb: gdb remote support always falls back to $qC when no $qProcessInfo.

See thread here:
http://lists.cs.uiuc.edu/pipermail/lldb-dev/2014-May/003992.html

This is meant to address case 3 that I recently broke with an earlier
change to rectify usage of the $qC message for thread ids, specifically:

3. TOT lldb <=> gdbserver (without $qProcessInfo support and not Apple/iOS).



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@208741 91177308-0d34-0410-b5e6-96231b3b80d8
Don't assert and crash when sections are malformed.

<rdar://problem/16833247>



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@208749 91177308-0d34-0410-b5e6-96231b3b80d8
Added debugserver/llgs test for command-line --attach {pid} variant.

Checks that the pid reported by $qProcessInfo matches the pid that was
launched as the attach test subject.

test exe now supports "sleep:{sleep_seconds}" command line argument.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@208782 91177308-0d34-0410-b5e6-96231b3b80d8
Replace SIZE_T_MAX with std::numeric_limits value in Section.cpp.

SIZE_T_MAX is not available on Linux.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@208789 91177308-0d34-0410-b5e6-96231b3b80d8
Fix up TestLldbGdbServer C++ test slug exe.

Missing header for Linux, replaces with iostreams.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@208794 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed SectionLoadHistory::GetSectionLoadListForStopID() to always return a valid "SectionLoadList *". 

<rdar://problem/15818525>



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@208796 91177308-0d34-0410-b5e6-96231b3b80d8
Added gdbremote tests to verify kill and continue after attach.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@208804 91177308-0d34-0410-b5e6-96231b3b80d8
Initial commit of LLDB Machine Interface Frontend.

- Tested with Eclipse, likely to work with other GDB/MI compatible GUIs.
- Some but not all MI commands have been implemented. See MIReadme.txt for more info.
- Written from scratch, no GPL code, based on LLDB Public API.
- Built for Linux, Windows and OSX. Tested on Linux and Windows.
- GDB/MI Command Reference, https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI.html



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@208972 91177308-0d34-0410-b5e6-96231b3b80d8
Do not require the triple to be hard-coded

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@208982 91177308-0d34-0410-b5e6-96231b3b80d8