Skip to content

Commit 0f45797

Browse files
Build fail due to RemoveBreakpoint change in llvm:main
Changes to be committed: modified: lldb/source/Plugins/Process/AIX/NativeProcessAIX.cpp
1 parent fb6ddcb commit 0f45797

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

lldb/source/Plugins/Process/AIX/NativeProcessAIX.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1696,10 +1696,12 @@ void NativeProcessAIX::SignalIfAllThreadsStopped() {
16961696
// Clear any temporary breakpoints we used to implement software single
16971697
// stepping.
16981698
for (const auto &thread_info : m_threads_stepping_with_breakpoint) {
1699-
Status error = RemoveBreakpoint(thread_info.second);
1700-
if (error.Fail())
1701-
LLDB_LOG(log, "pid = {0} remove stepping breakpoint: {1}",
1702-
thread_info.first, error);
1699+
for (auto &&bp_addr : thread_info.second) {
1700+
Status error = RemoveBreakpoint(bp_addr);
1701+
if (error.Fail())
1702+
LLDB_LOG(log, "pid = {0} remove stepping breakpoint: {1}",
1703+
thread_info.first, error);
1704+
}
17031705
}
17041706
m_threads_stepping_with_breakpoint.clear();
17051707

0 commit comments

Comments
 (0)