Linux/FreeBSD local debugging: allow redirection to pts for POSIX process.

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

Change by Zephyr Zhao.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@217382 91177308-0d34-0410-b5e6-96231b3b80d8
Modify call-function and rdar-12437442 tests to clean up all files produced during test run.


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