forked from OSchip/llvm-project
Revert "Revert "[lldb] [Process/NetBSD] Fix constructor after r363707""
The relevant changes have been reapplied, and broke build again. llvm-svn: 366889
This commit is contained in:
parent
5adbfdda2d
commit
b09bc8a27d
|
@ -140,7 +140,7 @@ NativeProcessNetBSD::NativeProcessNetBSD(::pid_t pid, int terminal_fd,
|
||||||
NativeDelegate &delegate,
|
NativeDelegate &delegate,
|
||||||
const ArchSpec &arch,
|
const ArchSpec &arch,
|
||||||
MainLoop &mainloop)
|
MainLoop &mainloop)
|
||||||
: NativeProcessProtocol(pid, terminal_fd, delegate), m_arch(arch) {
|
: NativeProcessELF(pid, terminal_fd, delegate), m_arch(arch) {
|
||||||
if (m_terminal_fd != -1) {
|
if (m_terminal_fd != -1) {
|
||||||
Status status = EnsureFDFlags(m_terminal_fd, O_NONBLOCK);
|
Status status = EnsureFDFlags(m_terminal_fd, O_NONBLOCK);
|
||||||
assert(status.Success());
|
assert(status.Success());
|
||||||
|
|
Loading…
Reference in New Issue