File tree Expand file tree Collapse file tree 4 files changed +6
-7
lines changed
Plugins/Process/gdb-remote Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -1784,7 +1784,6 @@ ThreadSP ProcessGDBRemote::SetThreadStopInfo(
1784
1784
// addresses should be provided as \a wp_addr.
1785
1785
StringExtractor desc_extractor (description.c_str ());
1786
1786
addr_t wp_addr = desc_extractor.GetU64 (LLDB_INVALID_ADDRESS);
1787
- uint32_t wp_index = desc_extractor.GetU32 (LLDB_INVALID_INDEX32);
1788
1787
addr_t wp_hit_addr = desc_extractor.GetU64 (LLDB_INVALID_ADDRESS);
1789
1788
watch_id_t watch_id = LLDB_INVALID_WATCH_ID;
1790
1789
bool silently_continue = false ;
@@ -2243,7 +2242,7 @@ StateType ProcessGDBRemote::SetThreadStopInfo(StringExtractor &stop_packet) {
2243
2242
// which is parsed in SetThreadStopInfo.
2244
2243
reason = " watchpoint" ;
2245
2244
StreamString ostr;
2246
- ostr.Printf (" %" PRIu64 " % " PRIu32 , wp_addr, wp_index );
2245
+ ostr.Printf (" %" PRIu64, wp_addr);
2247
2246
description = std::string (ostr.GetString ());
2248
2247
} else if (key.compare (" library" ) == 0 ) {
2249
2248
auto error = LoadModules ();
Original file line number Diff line number Diff line change @@ -745,15 +745,15 @@ static bool
745
745
BreakpointSiteMatchesREPLBreakpoint (const BreakpointSiteSP &bp_site_sp) {
746
746
if (bp_site_sp) {
747
747
size_t owner_idx = 0 ;
748
- BreakpointLocationSP bp_loc_sp = bp_site_sp->GetOwnerAtIndex (owner_idx);
748
+ BreakpointLocationSP bp_loc_sp = bp_site_sp->GetConstituentAtIndex (owner_idx);
749
749
while (bp_loc_sp) {
750
750
Breakpoint &bp = bp_loc_sp->GetBreakpoint ();
751
751
if (bp.IsInternal ()) {
752
752
const char *kind = bp.GetBreakpointKind ();
753
753
if (kind && strcmp (kind, " REPL" ) == 0 )
754
754
return true ;
755
755
}
756
- bp_loc_sp = bp_site_sp->GetOwnerAtIndex (++owner_idx);
756
+ bp_loc_sp = bp_site_sp->GetConstituentAtIndex (++owner_idx);
757
757
}
758
758
}
759
759
return false ;
Original file line number Diff line number Diff line change @@ -489,7 +489,7 @@ bool ThreadPlanCallFunction::BreakpointsExplainStop() {
489
489
}
490
490
if (m_error_backstop_bp_sp) {
491
491
uint64_t break_site_id = stop_info_sp->GetValue ();
492
- if (m_process.GetBreakpointSiteList ().BreakpointSiteContainsBreakpoint (
492
+ if (m_process.GetBreakpointSiteList ().StopPointSiteContainsBreakpoint (
493
493
break_site_id, m_error_backstop_bp_sp->GetID ())) {
494
494
// Our expression threw an uncaught exception. That will happen in REPL
495
495
// & Playground, though not in
Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ bool ThreadPlanStepInRange::StepInDeepBreakpointExplainsStop(
347
347
// at this site:
348
348
explains_stop = true ;
349
349
hit_step_in_deep_bp = true ;
350
- size_t num_owners = bp_site_sp->GetNumberOfOwners ();
350
+ size_t num_owners = bp_site_sp->GetNumberOfConstituents ();
351
351
352
352
// If all the owners are internal, then we are probably just stepping over
353
353
// this range from multiple threads,
@@ -361,7 +361,7 @@ bool ThreadPlanStepInRange::StepInDeepBreakpointExplainsStop(
361
361
continue ;
362
362
363
363
for (size_t i = 0 ; i < num_owners; i++) {
364
- BreakpointLocationSP owner_loc_sp (bp_site_sp->GetOwnerAtIndex (i));
364
+ BreakpointLocationSP owner_loc_sp (bp_site_sp->GetConstituentAtIndex (i));
365
365
Breakpoint &owner_bp (owner_loc_sp->GetBreakpoint ());
366
366
if (owner_loc_sp->ValidForThisThread (GetThread ()) &&
367
367
!owner_bp.IsInternal ()) {
You can’t perform that action at this time.
0 commit comments