Enable more Linux aarch64 PTRACE support for local and remote debugging.

See http://reviews.llvm.org/D4803 for more details.

Change by Paul Osmialowski.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216185 91177308-0d34-0410-b5e6-96231b3b80d8
Add software breakpoint support for Linux aarch64.

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

Change by Paul Osmialowski.


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

<rdar://problem/18084105>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216189 91177308-0d34-0410-b5e6-96231b3b80d8
Fix on Linux for ReadThread lingering after inferior exits

See this email thread:
http://lists.cs.uiuc.edu/pipermail/lldb-commits/Week-of-Mon-20140818/012487.html

This patch handles the case where the inferior process exits but leaves the ReadThread in a continuous loop reading from the communication pipe.  On MacOSX, the ReadThread exits when it receives a 0 return value from the read due to EOF.  On Linux the read returns -1 and sets errno to EIO error, this does not currently cause the thread to shutdown so it continues to read from the comm.   In Communication::ReadThread I added a handler for eConnectionStatusError to disconnect and shutdown the thread.

Change by Alex Pepper.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216194 91177308-0d34-0410-b5e6-96231b3b80d8
Move Host::GetLLDBPath to HostInfo.

This continues the effort to get Host code moved over to HostInfo,
and removes many more instances of preprocessor defines along the
way.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216195 91177308-0d34-0410-b5e6-96231b3b80d8
Convert static constructors to be explicitly initialized at startup

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216197 91177308-0d34-0410-b5e6-96231b3b80d8
Move GetUsername and GetGroupname to HostInfoPosix

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216210 91177308-0d34-0410-b5e6-96231b3b80d8
Fix compile error on Linux due to previous commit.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216227 91177308-0d34-0410-b5e6-96231b3b80d8
Move the rest of the HostInfo functions over.

This should bring HostInfo up to 99% completion.  The remainder
of code in Host will be split into instantiatable classes
representing host processes, threads, dynamic libraries, and
process launching strategies.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216230 91177308-0d34-0410-b5e6-96231b3b80d8
Add missing HostInfo::Initialize() in llgs.

This fixes an llgs segfault on startup.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216238 91177308-0d34-0410-b5e6-96231b3b80d8
Two small fixes to get Mac native + debugserver working after the
HostInfo et al changes from Zachary.  Changes suggested by Zachary
- fixes the problems I was seeing.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216243 91177308-0d34-0410-b5e6-96231b3b80d8
Bump the verison number in the xcode project files.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216245 91177308-0d34-0410-b5e6-96231b3b80d8
Fixes a few more places where we were manually setting the filename.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216247 91177308-0d34-0410-b5e6-96231b3b80d8
When adding a dSYM to an existing ObjectFile, we can have a situation
with binaries in the dyld shared cache (esp on iOS) where the file
address for the executable binary (maybe from memory, maybe from
an expanded copy of the dyld shared cache) is different from the
file address in the dSYM.  In that case, ObjectFileMachO replaces
the file addresses from the original binary with the dSYM file
addresses (usually 0-based) -- lldb doesn't have a notion of two
file addresses for a given module so they need to agree.

There was a cache of file addresses over in the Symtab so I added
a method to the Module and the objects within to clear any file address
caches if they exist, and added an implementation in the Symtab
module to do that.
<rdar://problem/16929569> 



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216258 91177308-0d34-0410-b5e6-96231b3b80d8
Fix a CMake error when using CMake 3.0.1

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216286 91177308-0d34-0410-b5e6-96231b3b80d8
Fix a couple of potential issues in the lexer where we were ignoring the putback data

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216304 91177308-0d34-0410-b5e6-96231b3b80d8
Extend the encoding parser to support the @typeName syntax for Objective-C object types

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216305 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed a problem where IOObject was wrongly
capitalized.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216308 91177308-0d34-0410-b5e6-96231b3b80d8
Initialize LLVM when LLDB is initialized, and
install a crash handler.

<rdar://problem/18083226>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216309 91177308-0d34-0410-b5e6-96231b3b80d8
I forgot to include the header file for std::find, and that's breaking the Linux build. Push a fix out. Patch suggested by Paul Osmialowski and Randy Smith

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