Fix an incomplete null structure spec in Python readline suppression module.

Now that I'm building Linux with clang, I'm seeing more clang warnings.
This fills in some extra fields missing in the final end-of-structure-array
marker.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@211812 91177308-0d34-0410-b5e6-96231b3b80d8
Test commit: wether -> whether.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@211842 91177308-0d34-0410-b5e6-96231b3b80d8
Fix a few typos.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@211851 91177308-0d34-0410-b5e6-96231b3b80d8
lldb: remove adhoc implementation of array_sizeof

Replace adhoc inline implementation of llvm::array_lengthof in favour of the
implementation in LLVM.  This is simply a cleanup change, no functional change
intended.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@211868 91177308-0d34-0410-b5e6-96231b3b80d8
[cmake] When Python is disabled for LLDB, don't try to install the
python bindings.

For example, this prevents errors on systems that disable python because
the system python isn't available. Without this, we still try to install
things and get install errors when that doesn't work.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@211899 91177308-0d34-0410-b5e6-96231b3b80d8
Revert the debugserver part of r211868.  While formally a fine change, debugserver
doesn't depend on llvm (it really doesn't even depend on anything in lldb) and this
nicety isn't worth adding that dependence.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@211903 91177308-0d34-0410-b5e6-96231b3b80d8
Fix ObjectFileELF to determine architectures independent of host.

Previously ObjectFileELF was simplifying and assuming the object file it was
looking at was the same as the host architecture/triple.  This would break
attempts to run, say, lldb on MacOSX against lldb-gdbserver on Linux since
the MacOSX lldb would say that the linux elf file was really an Apple MacOSX
architecture.  Chaos would ensue.

This change allows the elf file to parse ELF notes for Linux, FreeBSD and
NetBSD, and determine the OS appropriately from them.  It also initializes
the OS type from the ELF header OSABI if it is set (which it is for FreeBSD
but not for Linux).

Added a test with freebsd and linux images that verify that 
'(lldb) image list -t -A' prints out the expected architecture for each.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@211907 91177308-0d34-0410-b5e6-96231b3b80d8
Updated ObjectFileELF tests to include more varaints.

Removed the distribution EXEs from FreeBSD and Ubuntu.
Added a hello-world .cpp file, and compiled it for
several platform/compiler variants:

Ubuntu 14.04 x86_64, clang 3.5 (the ubuntu1 3.5 pre variant)
Ubuntu 14.04 x86_64, gcc 4.8.2
FreeBSD 10.0 x86_64, clang 3.3
FreeBSD 10.0 x86_64, gcc 4.7.3
NetBSD 6.1 x86_64, gcc 4.5.3

I also added the NetBSD expected architecture and triple.
Note I have NetBSD not appending the version info to the
OS name, in contrast to FreeBSD.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@211954 91177308-0d34-0410-b5e6-96231b3b80d8
Implemented gdb-remote protocol tests for vCont;s and vCont;s:{thread}

Also added tests for presence of vCont;c, vCont;C, vCont;s, vCont;S as
returned by vCont? query.

Broke out single step functionality from TestLldbGdbServer into base class.
Used by new TestGdbRemoteSingleStep (using $s) and TestGdbRemote_vCont.

Also part of llgs wrap-up, see:
https://github.com/tfiala/lldb/issues/12


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