[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 14:47:43 +0000
| Newsgroups | gmane.comp.gdb.bugs.discuss |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://sourceware.org/bugzilla/show_bug.cgi?id=3D32571
Jarmo Tiitto <jarmo.tiitto at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #44 from Jarmo Tiitto <jarmo.tiitto at gmail dot com> ---
GDB version: GNU gdb (GDB) 17.2
GCC version: gcc (GCC) 16.1.1 20260728
Are the fixes yet in place for the above versions?
If they are, then GDB (or GCC) still looks have a bug as I'm still seeing
garbage output from GDB:
(gdb) 21-break-insert -f
"/mnt/source/kde/src/kdevelop/plugins/debuggercommon/tests/debuggees/qtextf=
ormat.cpp:39"
=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/qtextfo=
rmat.cpp.
21^done,bkpt=3D{number=3D"2",type=3D"breakpoint",disp=3D"keep",enabled=3D"y=
",addr=3D"<PENDING>",pending=3D"/mnt/source/kde/src/kdevelop/plugins/debugg=
ercommon/tests/debuggees/qtextformat.cpp:39",times=3D"0",original-location=
=3D"/mnt/source/kde/src/kdevelop/plugins/debuggercommon/tests/debuggees/qte=
xtformat.cpp:39"}
(gdb) 22-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 No source file named
/mnt/source/kde/src/kdevelop/plugins/debuggercommon/tests/debuggees/qgeomet=
ry.cpp.
22^done,bkpt=3D{number=3D"3",type=3D"breakpoint",disp=3D"keep",enabled=3D"y=
",addr=3D"<PENDING>",pending=3D"/mnt/source/kde/src/kdevelop/plugins/debugg=
ercommon/tests/debuggees/qgeometry.cpp:29",times=3D"0",original-location=3D=
"/mnt/source/kde/src/kdevelop/plugins/debuggercommon/tests/debuggees/qgeome=
try.cpp:29"}
(gdb) 23-break-insert -f
"/mnt/source/kde/src/kdevelop/plugins/clazy/config/globalconfigpage.cpp:24"
=EF=BF=BD\235\214=EF=BF=BD=EF=BF=BD\217 No source file named
/mnt/source/kde/src/kdevelop/plugins/clazy/config/globalconfigpage.cpp.
23^done,bkpt=3D{number=3D"4",type=3D"breakpoint",disp=3D"keep",enabled=3D"y=
",addr=3D"<PENDING>",pending=3D"/mnt/source/kde/src/kdevelop/plugins/clazy/=
config/globalconfigpage.cpp:24",times=3D"0",original-location=3D"/mnt/sourc=
e/kde/src/kdevelop/plugins/clazy/config/globalconfigpage.cpp:24"}
qtextformat.cpp and qgeometry.cpp are non-existing files, however
globalconfigpage.cpp does exist on disk.
I opened also an issue on Arch Linux gitlab, because GDB has been subtly br=
oken
in this way for 2 years at this point. The exact packaged version I used are
extra/gdb 17.2-1, extra/gdb-common 17.2-1, core/gcc
16.1.1+r595+g171d15ac6959-1, and
https://gitlab.archlinux.org/archlinux/packaging/packages/gdb/-/work_items/=
12#note_526422
confirmed the fix should be in place.
I'm sad to see this is still an problem in GDB.
--=20
You are receiving this mail because:
You are on the CC list for the bug.=