Fix indentation.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@195481 91177308-0d34-0410-b5e6-96231b3b80d8
Fix File::GetPermissions() to only return the permission bits.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@195482 91177308-0d34-0410-b5e6-96231b3b80d8
Only use a PTY master/slave when launching for local processes.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@195483 91177308-0d34-0410-b5e6-96231b3b80d8
Fix ePathTypeSupportExecutableDir for shallow bundle Darwin targets and add "host" logging for the different paths.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@195484 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed functions to always reply to packets and added a port offset.

Fixed a bunch of issues with many functions that were added for the platform host IO calls where they might not reply to the packet if the packet was malformed.

Cleaned up error codes.

Added a port offset to allow for connections across a USB mux.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@195485 91177308-0d34-0410-b5e6-96231b3b80d8
Make sure the getopt variables are correctly initialized for any option parsing.

Added a new "--port-offset PORT" option to lldb-platform so it can be used with USB mux type scenarios.



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