Change ProcessGDBRemote::DidLaunchOrAttach to 
call Target::SetArchitecture instead of modifying a
reference to the target's architecture so that the
target logging can show that the arch has been changed.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@214667 91177308-0d34-0410-b5e6-96231b3b80d8
Add code to AssemblyParse_x86::get_non_call_site_unwind_plan
to recognize an epilogue that ends with a jmp to 
objc_retainAutoreleaseReturnValue instead of a ret instruction.
<rdar://problem/17889928> 


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@214783 91177308-0d34-0410-b5e6-96231b3b80d8
Teach ProcessWindows plugin to support stdio i/o redirection.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@214816 91177308-0d34-0410-b5e6-96231b3b80d8
Add some useful logging to the step log.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@214836 91177308-0d34-0410-b5e6-96231b3b80d8
If you found a step through plan stop looking up the stack for a step out plan.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@214837 91177308-0d34-0410-b5e6-96231b3b80d8
On FreeBSD skip test that produces bogus output

The test produces lines that start with "<word>: " which confuses the
buildbot log parser.  Disable the test until either the test is fixed
or the buildbot can deal with the undesired output.

llvm.org/pr20545


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@214900 91177308-0d34-0410-b5e6-96231b3b80d8
Force trace on system() failure on FreeBSD while tracking down buildbot issues



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@214922 91177308-0d34-0410-b5e6-96231b3b80d8
Add a variant of the CommandOverrideCallback that takes a
CommandReturnObject.  Otherwise, all the overridden command
can do is say it overrode the command, not say what it did...

Also removed the duplicate definition of CommandOverrideCallback
from the private interfaces.

Now to figure out how to get this through the SB API's...

<rdar://problem/17911629>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@214938 91177308-0d34-0410-b5e6-96231b3b80d8
Probably should initialize that new ivar while I'm at it...


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@214941 91177308-0d34-0410-b5e6-96231b3b80d8
When stepping, handle the case where the step leaves us with
the same parent frame, but different current frame - e.g. when
you step past a tail call exit from a function.  Apply the same
"avoid-no-debug" rules to this case as for a "step-in".

<rdar://problem/16189225>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@214946 91177308-0d34-0410-b5e6-96231b3b80d8
Add decorators for tests failing to build on the lab.llvm.org FreeBSD buildbot

llvm.org/pr20548


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@214960 91177308-0d34-0410-b5e6-96231b3b80d8
Creates a socket host object.

This patch moves the logic of many common socket operations into
its own class lldb_private::Socket.  It then modifies the
ConnectionFileDescriptor class, and a few users of that class,
to use this new Socket class instead of hardcoding socket logic
directly.

Finally, this patch creates a common interface called IOObject for
any objects that support reading and writing, so that endpoints
such as sockets and files can be treated the same.

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

Reviewed by: Todd Fiala, Greg Clayton

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@214984 91177308-0d34-0410-b5e6-96231b3b80d8
Fix ProcessKDP after Host/Socket addition

Reviewers: zturner

Subscribers: lldb-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@214996 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed the build broken by the r215046.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@215107 91177308-0d34-0410-b5e6-96231b3b80d8
Fix the build broken as a result of deleting jit from LLVM.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@215119 91177308-0d34-0410-b5e6-96231b3b80d8
Fix FileSpec to be able to understand Windows paths.

This patch adds the notion of a "path syntax" to FileSpec.  There
are two syntaxes (Posix and Windows) and one "meta syntax",
Host Native, which uses the current platform to figure out the
appropriate syntax for host paths.

This allows paths from one platform to be represented and
manipulated on another platform even if they have different path
syntaxes.

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

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@215124 91177308-0d34-0410-b5e6-96231b3b80d8
Add a StringLexer utility class that can be used when you have string data that needs to be parsed - I don't think such a general purpose facility is part of LLVM, and I am going to need this, so just add it to lldb_utility

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@215133 91177308-0d34-0410-b5e6-96231b3b80d8
Use standard realloc so FreeBSD Host.cpp can use glibc

To fix building on Debian GNU/kFreeBSD, which uses the FreeBSD kernel
with a GNU userland.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@215134 91177308-0d34-0410-b5e6-96231b3b80d8
StringLexer: Fix CMake build

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