forked from OSchip/llvm-project
Add and SB API to set breakpoint conditions.
llvm-svn: 117082
This commit is contained in:
parent
06e41ae5c7
commit
041a12fc31
|
@ -70,6 +70,12 @@ public:
|
|||
|
||||
uint32_t
|
||||
GetIgnoreCount () const;
|
||||
|
||||
void
|
||||
SetCondition (const char *condition);
|
||||
|
||||
const char *
|
||||
GetCondition ();
|
||||
|
||||
void
|
||||
SetThreadID (lldb::tid_t sb_thread_id);
|
||||
|
|
|
@ -41,6 +41,12 @@ public:
|
|||
void
|
||||
SetIgnoreCount (uint32_t n);
|
||||
|
||||
void
|
||||
SetCondition (const char *condition);
|
||||
|
||||
const char *
|
||||
GetCondition ();
|
||||
|
||||
void
|
||||
SetThreadID (lldb::tid_t sb_thread_id);
|
||||
|
||||
|
|
|
@ -205,6 +205,18 @@ SBBreakpoint::SetIgnoreCount (uint32_t count)
|
|||
m_opaque_sp->SetIgnoreCount (count);
|
||||
}
|
||||
|
||||
void
|
||||
SBBreakpoint::SetCondition (const char *condition)
|
||||
{
|
||||
m_opaque_sp->SetCondition (condition);
|
||||
}
|
||||
|
||||
const char *
|
||||
SBBreakpoint::GetCondition ()
|
||||
{
|
||||
return m_opaque_sp->GetConditionText ();
|
||||
}
|
||||
|
||||
uint32_t
|
||||
SBBreakpoint::GetHitCount () const
|
||||
{
|
||||
|
|
|
@ -98,6 +98,18 @@ SBBreakpointLocation::SetIgnoreCount (uint32_t n)
|
|||
m_opaque_sp->SetIgnoreCount (n);
|
||||
}
|
||||
|
||||
void
|
||||
SBBreakpointLocation::SetCondition (const char *condition)
|
||||
{
|
||||
m_opaque_sp->SetCondition (condition);
|
||||
}
|
||||
|
||||
const char *
|
||||
SBBreakpointLocation::GetCondition ()
|
||||
{
|
||||
return m_opaque_sp->GetConditionText ();
|
||||
}
|
||||
|
||||
void
|
||||
SBBreakpointLocation::SetThreadID (tid_t thread_id)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue