Fixed our install-headers script to set version
numbers correctly.

<rdar://problem/17708687>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213284 91177308-0d34-0410-b5e6-96231b3b80d8
In Process::LoadImage, if dlopen returns 0x0 fetch the error with dlerror and report 
that in the returned Error.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213294 91177308-0d34-0410-b5e6-96231b3b80d8
Create an _d suffixed symlink when doing a debug Windows build.

_lldb is built as an extension module on Windows.  Normally to load
an extension module named 'foo', Python would look for the file
'foo.pyd'.  However, when a debug interpreter is used, Python will
look for the file 'foo_d.pyd'.  This change checks the build
configuration and creates the correct symlink name based on the
build configuration.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213306 91177308-0d34-0410-b5e6-96231b3b80d8
ReadPointedString takes a Stream not a DataBuffer.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213314 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed the objective C symbol parsing in ObjectFileMachO.

This fixes all of the hidden ivar test cases and any case where we try to find the full definition of an objective C class.

This also means hidden ivars show up again.

<rdar://problem/15458957>
llvm.org/pr20270
llvm.org/pr20269
llvm.org/pr20272



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213328 91177308-0d34-0410-b5e6-96231b3b80d8
Fixes a number of issue related to test portability on Windows.

99% of this CL is simply moving calls to "import pexpect" to a more
narrow scope - i.e. the function that actually runs a particular
test.  This way the test suite can run on Windows, which doesn't have
pexpect, and the individual tests that use pexpect can be disabled on
a platform-specific basis.

Additionally, this CL fixes a few other cases of non-portability.
Notably, using "ps" to get the command line, and os.uname() to
determine the architecture don't work on Windows.  Finally, this
also adds a stubbed out builder_win32 module.

The full test suite runs correctly on Windows after this CL, although
there is still some work remaining on the C++ side to fix one-shot
script commands from LLDB (e.g. script print "foo"), which currently
deadlock.

Reviewed by: Todd Fiala

Differential Revision: http://reviews.llvm.org/D4573

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213343 91177308-0d34-0410-b5e6-96231b3b80d8
Use the designated PYTHON_EXECUTABLE during build.

We were hardcoding "python" as the command to run the swig wrapper
scripts.  We should be using PYTHON_EXECUTABLE instead.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213354 91177308-0d34-0410-b5e6-96231b3b80d8
Merge remote-tracking branch 'upstream/master' into gsoc
initialize m_stoppcbs in ProcessFreeBSDKernel constructor