Changeset View
Changeset View
Standalone View
Standalone View
include/lldb/Host/common/NativeProcessProtocol.h
Show First 20 Lines • Show All 427 Lines • ▼ Show 20 Lines | protected: | ||||
// lldb_private::Host calls should be used to launch a process for debugging, | // lldb_private::Host calls should be used to launch a process for debugging, | ||||
// and then the process should be attached to. When attaching to a process | // and then the process should be attached to. When attaching to a process | ||||
// lldb_private::Host calls should be used to locate the process to attach | // lldb_private::Host calls should be used to locate the process to attach | ||||
// to, and then this function should be called. | // to, and then this function should be called. | ||||
NativeProcessProtocol(lldb::pid_t pid, int terminal_fd, | NativeProcessProtocol(lldb::pid_t pid, int terminal_fd, | ||||
NativeDelegate &delegate); | NativeDelegate &delegate); | ||||
void SetID(lldb::pid_t pid) { m_pid = pid; } | |||||
// ----------------------------------------------------------- Internal | // ----------------------------------------------------------- Internal | ||||
// interface for state handling | // interface for state handling | ||||
// ----------------------------------------------------------- | // ----------------------------------------------------------- | ||||
void SetState(lldb::StateType state, bool notify_delegates = true); | void SetState(lldb::StateType state, bool notify_delegates = true); | ||||
// Derived classes need not implement this. It can be used as a hook to | // Derived classes need not implement this. It can be used as a hook to | ||||
// clear internal caches that should be invalidated when stop ids change. | // clear internal caches that should be invalidated when stop ids change. | ||||
// | // | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |