Fixed value evaluation to handle null constants.

<rdar://problem/14005311>


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

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183024 91177308-0d34-0410-b5e6-96231b3b80d8
<rdar://problem/14035604>

Fixing an issue where formats would not propagate from parents to children in all cases
Details follow:
an SBValue has children and those are fetched along with their values
Now, one calls SBValue::SetFormat() on the parent
Technically, the format choices should propagate onto the children (see ValueObject::GetFormat())
But if the children values are already fetched, they won't notice the format change and won't update themselves
This commit fixes that by making ValueObject::GetValueAsCString() check if any format change intervened from the previous call to the current one
A test case is also added



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183030 91177308-0d34-0410-b5e6-96231b3b80d8
FreeBSD cmake build fixes.
- missing #include <cstdlib> in Mangled.cpp
- missing include dirs in FreeBSD CMakeLists.txt

Patch by Ed Maste!



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183032 91177308-0d34-0410-b5e6-96231b3b80d8
<rdar://problem/13752848>

Add 'JoinExistingSession' to XPC for root debugging.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183037 91177308-0d34-0410-b5e6-96231b3b80d8
CMake FreeBSD fix: add missing Process plugin directory

Patch by Ed Maste!



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183038 91177308-0d34-0410-b5e6-96231b3b80d8
Use C-style include to match style in file (instead of C++ style)
- as per review comment from Dimitry Andric!




git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183039 91177308-0d34-0410-b5e6-96231b3b80d8
Skipping test case for clang 3.4 due to llvm.org/pr16191
- should resolve remaining buildbot issues with debian/clang builder



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183044 91177308-0d34-0410-b5e6-96231b3b80d8
Add ability to attach/detach to multi-threaded inferiors on Linux.
All running threads will be detected and stopped on attach and all threads get resumed on detach.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183049 91177308-0d34-0410-b5e6-96231b3b80d8
A few cleanups for our documentation



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