diff options
author | Greg Clayton <gclayton@apple.com> | 2010-07-30 23:14:42 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-07-30 23:14:42 +0000 |
commit | 3382c2c80d0da67e86c37182038bd583dd2d09fe (patch) | |
tree | a1320f2c73d2cb0563a1d0d21c89d855f2d32d9c /lldb/tools/debugserver/source/MacOSX/MachProcess.h | |
parent | e92d2749b8bf5901e2e4df2818116a6a8fba9fa0 (diff) | |
download | bcm5719-llvm-3382c2c80d0da67e86c37182038bd583dd2d09fe.tar.gz bcm5719-llvm-3382c2c80d0da67e86c37182038bd583dd2d09fe.zip |
Fixed debugserver to not exit when we are able to spawn the process, yet not
launch it due to not being able to get the task port. A SIGHUP was killing us
and also an error string wasn't properly being passed along. Got rid of a
class error variable that can only lead to multi-threaded crashes.
llvm-svn: 109930
Diffstat (limited to 'lldb/tools/debugserver/source/MacOSX/MachProcess.h')
-rw-r--r-- | lldb/tools/debugserver/source/MacOSX/MachProcess.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/MachProcess.h b/lldb/tools/debugserver/source/MacOSX/MachProcess.h index 4d5d0d4af92..ddab00e60cc 100644 --- a/lldb/tools/debugserver/source/MacOSX/MachProcess.h +++ b/lldb/tools/debugserver/source/MacOSX/MachProcess.h @@ -161,8 +161,6 @@ public: return state == eStateStopped; } - const DNBError& GetLastError () const { return m_err; } - bool GetExitStatus(int* status) { if (GetState() == eStateExited) @@ -246,7 +244,6 @@ private: PThreadMutex m_exception_messages_mutex; // Multithreaded protection for m_exception_messages MachThreadList m_threadList; // A list of threads that is maintained/updated after each stop - DNBError m_err; // The last error for any transaction nub_state_t m_state; // The state of our process PThreadMutex m_state_mutex; // Multithreaded protection for m_state PThreadEvent m_events; // Process related events in the child processes lifetime can be waited upon |