[Bug breakpoints/34112] rbreak `file:regex` sets breakpoints for matches outside of `file` [reproducer attached]

vries at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Tue Apr 28 09:04:52 GMT 2026


https://sourceware.org/bugzilla/show_bug.cgi?id=34112

--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Daniel Armengod from comment #2)
> Thank you for your quick response, Tom. Please let me know if there is
> anything I can do regarding this issue

I'm currently testing a patch that also includes a test-case, and I'll post it
on the mailing list as soon as that's done, and link to it here.

You could test that patch and see if it works for your original use case, but
given the trivial nature of the reproducer and the root cause I don't think
it's really necessary.

> otherwise I'm happy if the report
> was of use ^^

You reported a regression with an easy reproducer that worked the first time I
tried it, and which identified a hole in our regression test suite.

So, I'd say this PR was hugely helpful, thanks!

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list