https://github.com/felipepiovezan created 
https://github.com/llvm/llvm-project/pull/196888

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.

>From a9ee0d2d9099837d2b908cbefeb006a03c697680 Mon Sep 17 00:00:00 2001
From: Felipe de Azevedo Piovezan <[email protected]>
Date: Mon, 11 May 2026 08:01:12 +0100
Subject: [PATCH] [lldb] Fix TestDelayedBreakpoint on ARM Thumb

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.
---
 .../breakpoint/delayed_breakpoints/TestDelayedBreakpoint.py     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
 

_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to