[Bug mi/32571] GDB Mi crashes when setting a disabled breakpoint

"jarmo.tiitto at gmail dot com via Gdb-prs" <[email protected]> Sun, 02 Aug 2026 17:43:59 +0000
Newsgroups gmane.comp.gdb.bugs.discuss
Message-ID <[email protected]/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=3D32571

--- Comment #50 from Jarmo Tiitto <jarmo.tiitto at gmail dot com> ---
(In reply to Sam James from comment #48)
> One possible explanation is that the bug wasn't fully fixed in GCC, maybe
> because the testcase was over-reduced.
>=20=20
> If you change it '1' to '2', does it then work again?

I presume you meant following change:

gdb-17.2/gdbsupport/common-defs.h:
-      || (__GNUC__ =3D=3D 16 && __GNUC_MINOR__ < 1))
+      || (__GNUC__ =3D=3D 16 && __GNUC_MINOR__ < 2))

I made sure makepkg didn't override this change and I tested again:

(gdb) 20-break-insert -f
"/mnt/source/kde/src/kdevelop/plugins/debuggercommon/tests/debuggees/qgeome=
try.cpp:29"
=EF=BF=BD\235\214=EF=BF=BD=EF=BF=BD\217 Quit
=EF=BF=BD\235\214=EF=BF=BD=EF=BF=BD\217 No source file named
/mnt/source/kde/src/kdevelop/plugins/debuggercommon/tests/debuggees/qgeomet=
ry.cpp.

GCC version is same as I reported.

No, the garbage output has remained the same. As you said, this looks to be=
 a
separate bug? Should I open a new bug report?

If you need a response from me, please ping me by name as otherwise these
discussion can get drowned in my crowded email.

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