Lines Matching refs:m_opaque_sp
68 m_opaque_sp ()
73 m_opaque_sp (rhs.m_opaque_sp)
79 m_opaque_sp (bp_sp)
91 m_opaque_sp = rhs.m_opaque_sp;
98 if (m_opaque_sp && rhs.m_opaque_sp)
99 return m_opaque_sp.get() == rhs.m_opaque_sp.get();
106 if (m_opaque_sp && rhs.m_opaque_sp)
107 return m_opaque_sp.get() != rhs.m_opaque_sp.get();
108 return (m_opaque_sp && !rhs.m_opaque_sp) || (rhs.m_opaque_sp && !m_opaque_sp);
117 if (m_opaque_sp)
118 break_id = m_opaque_sp->GetID();
123 log->Printf ("SBBreakpoint(%p)::GetID () => LLDB_INVALID_BREAK_ID", m_opaque_sp.get());
125 log->Printf ("SBBreakpoint(%p)::GetID () => %u", m_opaque_sp.get(), break_id);
135 return (bool) m_opaque_sp;
141 if (m_opaque_sp)
143 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
144 m_opaque_sp->ClearAllBreakpointSites ();
153 if (m_opaque_sp)
157 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
159 Target &target = m_opaque_sp->GetTarget();
164 sb_bp_location.SetLocation (m_opaque_sp->FindLocationByAddress (address));
175 if (m_opaque_sp && vm_addr != LLDB_INVALID_ADDRESS)
177 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
179 Target &target = m_opaque_sp->GetTarget();
184 break_id = m_opaque_sp->FindLocationIDByAddress (address);
195 if (m_opaque_sp)
197 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
198 sb_bp_location.SetLocation (m_opaque_sp->FindLocationByID (bp_loc_id));
209 if (m_opaque_sp)
211 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
212 sb_bp_location.SetLocation (m_opaque_sp->GetLocationAtIndex (index));
224 log->Printf ("SBBreakpoint(%p)::SetEnabled (enabled=%i)", m_opaque_sp.get(), enable);
226 if (m_opaque_sp)
228 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
229 m_opaque_sp->SetEnabled (enable);
236 if (m_opaque_sp)
238 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
239 return m_opaque_sp->IsEnabled();
251 log->Printf ("SBBreakpoint(%p)::SetOneShot (one_shot=%i)", m_opaque_sp.get(), one_shot);
253 if (m_opaque_sp)
255 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
256 m_opaque_sp->SetOneShot (one_shot);
263 if (m_opaque_sp)
265 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
266 return m_opaque_sp->IsOneShot();
275 if (m_opaque_sp)
277 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
278 return m_opaque_sp->IsInternal();
290 log->Printf ("SBBreakpoint(%p)::SetIgnoreCount (count=%u)", m_opaque_sp.get(), count);
292 if (m_opaque_sp)
294 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
295 m_opaque_sp->SetIgnoreCount (count);
302 if (m_opaque_sp)
304 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
305 m_opaque_sp->SetCondition (condition);
312 if (m_opaque_sp)
314 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
315 return m_opaque_sp->GetConditionText ();
324 if (m_opaque_sp)
326 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
327 count = m_opaque_sp->GetHitCount();
332 log->Printf ("SBBreakpoint(%p)::GetHitCount () => %u", m_opaque_sp.get(), count);
341 if (m_opaque_sp)
343 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
344 count = m_opaque_sp->GetIgnoreCount();
349 log->Printf ("SBBreakpoint(%p)::GetIgnoreCount () => %u", m_opaque_sp.get(), count);
357 if (m_opaque_sp)
359 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
360 m_opaque_sp->SetThreadID (tid);
364 log->Printf ("SBBreakpoint(%p)::SetThreadID (tid=0x%4.4" PRIx64 ")", m_opaque_sp.get(), tid);
372 if (m_opaque_sp)
374 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
375 tid = m_opaque_sp->GetThreadID();
380 log->Printf ("SBBreakpoint(%p)::GetThreadID () => 0x%4.4" PRIx64, m_opaque_sp.get(), tid);
389 log->Printf ("SBBreakpoint(%p)::SetThreadIndex (%u)", m_opaque_sp.get(), index);
390 if (m_opaque_sp)
392 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
393 m_opaque_sp->GetOptions()->GetThreadSpec()->SetIndex (index);
401 if (m_opaque_sp)
403 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
404 const ThreadSpec *thread_spec = m_opaque_sp->GetOptions()->GetThreadSpecNoCreate();
410 log->Printf ("SBBreakpoint(%p)::GetThreadIndex () => %u", m_opaque_sp.get(), thread_idx);
421 log->Printf ("SBBreakpoint(%p)::SetThreadName (%s)", m_opaque_sp.get(), thread_name);
423 if (m_opaque_sp)
425 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
426 m_opaque_sp->GetOptions()->GetThreadSpec()->SetName (thread_name);
434 if (m_opaque_sp)
436 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
437 const ThreadSpec *thread_spec = m_opaque_sp->GetOptions()->GetThreadSpecNoCreate();
443 log->Printf ("SBBreakpoint(%p)::GetThreadName () => %s", m_opaque_sp.get(), name);
453 log->Printf ("SBBreakpoint(%p)::SetQueueName (%s)", m_opaque_sp.get(), queue_name);
454 if (m_opaque_sp)
456 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
457 m_opaque_sp->GetOptions()->GetThreadSpec()->SetQueueName (queue_name);
465 if (m_opaque_sp)
467 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
468 const ThreadSpec *thread_spec = m_opaque_sp->GetOptions()->GetThreadSpecNoCreate();
474 log->Printf ("SBBreakpoint(%p)::GetQueueName () => %s", m_opaque_sp.get(), name);
483 if (m_opaque_sp)
485 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
486 num_resolved = m_opaque_sp->GetNumResolvedLocations();
490 log->Printf ("SBBreakpoint(%p)::GetNumResolvedLocations () => %" PRIu64, m_opaque_sp.get(), (uint64_t)num_resolved);
498 if (m_opaque_sp)
500 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
501 num_locs = m_opaque_sp->GetNumLocations();
505 log->Printf ("SBBreakpoint(%p)::GetNumLocations () => %" PRIu64, m_opaque_sp.get(), (uint64_t)num_locs);
512 if (m_opaque_sp)
514 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
515 s.Printf("SBBreakpoint: id = %i, ", m_opaque_sp->GetID());
516 m_opaque_sp->GetResolverDescription (s.get());
517 m_opaque_sp->GetFilterDescription (s.get());
518 const size_t num_locations = m_opaque_sp->GetNumLocations ();
571 log->Printf ("SBBreakpoint(%p)::SetCallback (callback=%p, baton=%p)", m_opaque_sp.get(), callback, baton);
573 if (m_opaque_sp)
575 Mutex::Locker api_locker (m_opaque_sp->GetTarget().GetAPIMutex());
577 m_opaque_sp->SetCallback (SBBreakpoint::PrivateBreakpointHitCallback, baton_sp, false);
585 return m_opaque_sp.get();
591 return m_opaque_sp.get();
597 return m_opaque_sp;
603 return m_opaque_sp;
626 sb_breakpoint.m_opaque_sp = Breakpoint::BreakpointEventData::GetBreakpointFromEvent (event.GetSP());