thread state coordinator: fixed bug in thread running state book-keeping.

Adds a test to verify that a thread resume request marks the thread as running
after doing the resume callback.  This test fails without the corresponding
ThreadStateCoordinator.cpp change.

Fixes the code where that state was not maintained.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219412 91177308-0d34-0410-b5e6-96231b3b80d8
Add an API on ValueObject to retrieve the desired dynamic/synthetic combination all at once, if available, working somewhat hard to avoid returning an invalid ValueObject in the process

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219423 91177308-0d34-0410-b5e6-96231b3b80d8
If a ValueObject has a child that vends synthetic children, but only does so to generate a value for itself, that's not a disqualifier from one-line printing. Also, fetch synthetic values if available and requested for children as well while printing them

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219427 91177308-0d34-0410-b5e6-96231b3b80d8
Correctly fix ScriptInterpreterPython::ExecuteOneLine for windows.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219435 91177308-0d34-0410-b5e6-96231b3b80d8
Enhance the libc++ list data formatter so that it does not start looking for loops until asked to actually fetch children. Also, if you're going to read child X, only look for a loop in the first X nodes. Loops further down the road won't really matter. This should speed things up for large lists and fix rdar://18583790

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219447 91177308-0d34-0410-b5e6-96231b3b80d8
In cases where you'd use an expression to get a value to insert in a command, be ready to use synthetic children if they are there. Those are now a source of values, so worth checking for

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219452 91177308-0d34-0410-b5e6-96231b3b80d8
Enable local llgs debugging on Linux when the use-llgs-for-local setting is enabled.

See http://reviews.llvm.org/D5695 for details.

This change does the following:

Enable lldb-gdbserver (llgs) usage for local-process Linux debugging.
To turn on local llgs debugging support, which is disabled by default, enable this setting:

(lldb) settings set platform.plugin.linux.use-llgs-for-local true
Adds a stream-based Dump() function to FileAction.
Pushes some platform methods that Linux (and FreeBSD) will want to share with MacOSX from PlatformDarwin into PlatformPOSIX.

Reviewed by Greg Clayton.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219457 91177308-0d34-0410-b5e6-96231b3b80d8
Reverse out r219169 related to quote handling.

Addresses pr/21190 (http://llvm.org/bugs/show_bug.cgi?id=21190).

r219169 implemented this change list:
http://reviews.llvm.org/D5472 for more details.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219461 91177308-0d34-0410-b5e6-96231b3b80d8
Merge upstream llvm.org r219461 into dev-llgs-local-launch

Conflicts:
	source/Plugins/Platform/Linux/PlatformLinux.cpp
	source/Plugins/Platform/POSIX/PlatformPOSIX.h