On Wed, 21 Jan 2026 14:47:19 -0500 Sergio Durigan Junior <[email protected]> 
wrote:
> OK, then let's wait for the loongarch64 builders to be redeployed and
> see if that solves the issue.
>

Hi, I managed to reproduce the error in qemu emulated virtual machine, which
lacks the support of hardware watch point.

The failed test case breakpoint-in-ro-region.exp attempts to set the memory
region of the debugged program read-only and force the use of hard breakpoint.
The test bench itself takes the case where breakpoint is not supported into
account, but failed to notice the slight difference of the output when using
gdbserver. That's why the test runs well with normal gdb but fails with
gdb server.

The attached patch can fix the above issue. However, I have no idea why on
the buildd environment, hardware breakpoints cannot be set by gdb.

Cheers,

Miao Wang

Attachment: hwbreakpoint.patch
Description: Binary data

Reply via email to