#include <SBAttachInfo.h>
|
lldb_private::ProcessAttachInfo & | ref () |
|
Definition at line 19 of file SBAttachInfo.h.
lldb::SBAttachInfo::SBAttachInfo |
( |
| ) |
|
lldb::SBAttachInfo::SBAttachInfo |
( |
lldb::pid_t |
pid | ) |
|
lldb::SBAttachInfo::SBAttachInfo |
( |
const char * |
path, |
|
|
bool |
wait_for |
|
) |
| |
Attach to a process by name.
This function implies that a future call to SBTarget::Attach(...) will be synchronous.
- Parameters
-
[in] | path | A full or partial name for the process to attach to. |
[in] | wait_for | If false, attach to an existing process whose name matches. If true, then wait for the next process whose name matches. |
lldb::SBAttachInfo::SBAttachInfo |
( |
const char * |
path, |
|
|
bool |
wait_for, |
|
|
bool |
async |
|
) |
| |
Attach to a process by name.
Future calls to SBTarget::Attach(...) will be synchronous or asynchronous depending on the async argument.
- Parameters
-
[in] | path | A full or partial name for the process to attach to. |
[in] | wait_for | If false, attach to an existing process whose name matches. If true, then wait for the next process whose name matches. |
[in] | async | If false, then the SBTarget::Attach(...) call will be a synchronous call with no way to cancel the attach in progress. If true, then the SBTarget::Attach(...) function will return immediately and clients are expected to wait for a process eStateStopped event if a suitable process is eventually found. If the client wants to cancel the event, SBProcess::Stop() can be called and an eStateExited process event will be delivered. |
lldb::SBAttachInfo::SBAttachInfo |
( |
const SBAttachInfo & |
rhs | ) |
|
lldb::SBAttachInfo::~SBAttachInfo |
( |
| ) |
|
bool lldb::SBAttachInfo::EffectiveGroupIDIsValid |
( |
| ) |
|
bool lldb::SBAttachInfo::EffectiveUserIDIsValid |
( |
| ) |
|
uint32_t lldb::SBAttachInfo::GetEffectiveGroupID |
( |
| ) |
|
uint32_t lldb::SBAttachInfo::GetEffectiveUserID |
( |
| ) |
|
uint32_t lldb::SBAttachInfo::GetGroupID |
( |
| ) |
|
bool lldb::SBAttachInfo::GetIgnoreExisting |
( |
| ) |
|
Get the listener that will be used to receive process events.
If no listener has been set via a call to SBLaunchInfo::SetListener(), then an invalid SBListener will be returned (SBListener::IsValid() will return false). If a listener has been set, then the valid listener object will be returned.
lldb::pid_t lldb::SBAttachInfo::GetParentProcessID |
( |
| ) |
|
lldb::pid_t lldb::SBAttachInfo::GetProcessID |
( |
| ) |
|
const char* lldb::SBAttachInfo::GetProcessPluginName |
( |
| ) |
|
uint32_t lldb::SBAttachInfo::GetResumeCount |
( |
| ) |
|
uint32_t lldb::SBAttachInfo::GetUserID |
( |
| ) |
|
bool lldb::SBAttachInfo::GetWaitForLaunch |
( |
| ) |
|
bool lldb::SBAttachInfo::GroupIDIsValid |
( |
| ) |
|
bool lldb::SBAttachInfo::ParentProcessIDIsValid |
( |
| ) |
|
lldb_private::ProcessAttachInfo& lldb::SBAttachInfo::ref |
( |
| ) |
|
|
protected |
void lldb::SBAttachInfo::SetEffectiveGroupID |
( |
uint32_t |
gid | ) |
|
void lldb::SBAttachInfo::SetEffectiveUserID |
( |
uint32_t |
uid | ) |
|
void lldb::SBAttachInfo::SetExecutable |
( |
const char * |
path | ) |
|
void lldb::SBAttachInfo::SetGroupID |
( |
uint32_t |
gid | ) |
|
void lldb::SBAttachInfo::SetIgnoreExisting |
( |
bool |
b | ) |
|
void lldb::SBAttachInfo::SetListener |
( |
SBListener & |
listener | ) |
|
Set the listener that will be used to receive process events.
By default the SBDebugger, which has a listener, that the SBTarget belongs to will listen for the process events. Calling this function allows a different listener to be used to listen for process events.
void lldb::SBAttachInfo::SetParentProcessID |
( |
lldb::pid_t |
pid | ) |
|
void lldb::SBAttachInfo::SetProcessID |
( |
lldb::pid_t |
pid | ) |
|
void lldb::SBAttachInfo::SetProcessPluginName |
( |
const char * |
plugin_name | ) |
|
void lldb::SBAttachInfo::SetResumeCount |
( |
uint32_t |
c | ) |
|
void lldb::SBAttachInfo::SetUserID |
( |
uint32_t |
uid | ) |
|
void lldb::SBAttachInfo::SetWaitForLaunch |
( |
bool |
b | ) |
|
Set attach by process name settings.
Designed to be used after a call to SBAttachInfo::SetExecutable(). This function implies that a call to SBTarget::Attach(...) will be synchronous.
- Parameters
-
[in] | wait_for | If false, attach to an existing process whose name matches. If true, then wait for the next process whose name matches. |
void lldb::SBAttachInfo::SetWaitForLaunch |
( |
bool |
b, |
|
|
bool |
async |
|
) |
| |
Set attach by process name settings.
Designed to be used after a call to SBAttachInfo::SetExecutable(). Future calls to SBTarget::Attach(...) will be synchronous or asynchronous depending on the async argument.
- Parameters
-
[in] | wait_for | If false, attach to an existing process whose name matches. If true, then wait for the next process whose name matches. |
[in] | async | If false, then the SBTarget::Attach(...) call will be a synchronous call with no way to cancel the attach in progress. If true, then the SBTarget::Attach(...) function will return immediately and clients are expected to wait for a process eStateStopped event if a suitable process is eventually found. If the client wants to cancel the event, SBProcess::Stop() can be called and an eStateExited process event will be delivered. |
bool lldb::SBAttachInfo::UserIDIsValid |
( |
| ) |
|
ProcessAttachInfoSP lldb::SBAttachInfo::m_opaque_sp |
|
protected |
The documentation for this class was generated from the following file: