EOF is outside the value range of char on architectures with unsigned
char like ARM. Check for EOF explicitly.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@207859 91177308-0d34-0410-b5e6-96231b3b80d8
LLDB_INVALID_ADDRESS may not be too large for a uintptr_t, so cast
first.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@207860 91177308-0d34-0410-b5e6-96231b3b80d8
Use correct readline header on NetBSD.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@207861 91177308-0d34-0410-b5e6-96231b3b80d8
Fix format string for 32bit systems.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@207862 91177308-0d34-0410-b5e6-96231b3b80d8
For now, use FreeBSD's host configuration for NetBSD as well.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@207863 91177308-0d34-0410-b5e6-96231b3b80d8
Use posix_spawn on NetBSD as well.


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