Refactor FileAction out of ProcessLaunchInfo.

FileAction was previously a nested class in ProcessLaunchInfo.
This led to some unfortunate style consequences, such as requiring
the AddPosixSpawnFileAction() funciton to be defined in the Target
layer, instead of the more appropriate Host layer.  This patch
makes FileAction its own independent class in the Target layer,
and then moves AddPosixSpawnFileAction() into Host as a result.

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

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@215649 91177308-0d34-0410-b5e6-96231b3b80d8
Modification to clang-format style.

Fixes constructor initializer list and function return type style.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@215654 91177308-0d34-0410-b5e6-96231b3b80d8
Fix command "gdb-set" to handle long option --threadgroup and accept --longOption type words as just words for string types.
For example, MI command "17-gdb-set --thread-group i1 args --interpreter" is now acceptable, "--interpreter" was previous not valid.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@215655 91177308-0d34-0410-b5e6-96231b3b80d8
Implementation of exec-run using lldb API.

Previously it was using run command which did not set the process
pointer in the sessionInfo. This commit also sends the proper
out-of-band data.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@215656 91177308-0d34-0410-b5e6-96231b3b80d8
Fix 'pid' and 'executable' fields in the list-thread-group.

The documentation says that these fields should be generated when 
we have proper process or target file. Current implementation did not
check for this. Eclipse seem to use list-thread-group command even
before setting the executable in which case current implementation
can return garbage data.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@215658 91177308-0d34-0410-b5e6-96231b3b80d8
fix the _regexp-break command to allow quotes around the name:

(lldb) b "Foo::Bar::Baz"

<rdar://problem/11782098>



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@215668 91177308-0d34-0410-b5e6-96231b3b80d8
Update .gitignore for MacOSX

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

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@215674 91177308-0d34-0410-b5e6-96231b3b80d8
Fix typo in error message.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@215681 91177308-0d34-0410-b5e6-96231b3b80d8
Merge upstream llvm.org r215681 into dev-llgs-local

Conflicts:
	include/lldb/Target/ProcessLaunchInfo.h
	source/Host/common/Host.cpp