[Lldb-commits] [lldb] [lldb] Fix TestDelayedBreakpoint on ARM Thumb (PR #196888)
via lldb-commits
lldb-commits at lists.llvm.org
Mon May 11 00:04:48 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Felipe de Azevedo Piovezan (felipepiovezan)
<details>
<summary>Changes</summary>
The original address used for the "fake breakpoint" is not valid in Thumb mode. To be safe, change it to have 0's in the LSBs.
---
Full diff: https://github.com/llvm/llvm-project/pull/196888.diff
1 Files Affected:
- (modified) lldb/test/API/functionalities/breakpoint/delayed_breakpoints/TestDelayedBreakpoint.py (+1-1)
``````````diff
diff --git a/lldb/test/API/functionalities/breakpoint/delayed_breakpoints/TestDelayedBreakpoint.py b/lldb/test/API/functionalities/breakpoint/delayed_breakpoints/TestDelayedBreakpoint.py
index 0d55e4e03f2e9..e6a6390f8f1b6 100644
--- a/lldb/test/API/functionalities/breakpoint/delayed_breakpoints/TestDelayedBreakpoint.py
+++ b/lldb/test/API/functionalities/breakpoint/delayed_breakpoints/TestDelayedBreakpoint.py
@@ -55,7 +55,7 @@ def test_eager_breakpoints(self):
bp1 = target.BreakpointCreateByLocation("main.c", 1)
self.runCmd("proc plugin packet send BEGIN_EAGER", check=False)
# Create an address breakpoint to trigger eager breakpoints.
- fake_address = 0x1234567
+ fake_address = 0x1234560
target.BreakpointCreateByAddress(fake_address)
self.runCmd("proc plugin packet send END_EAGER", check=False)
``````````
</details>
https://github.com/llvm/llvm-project/pull/196888
More information about the lldb-commits
mailing list