[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#975337: kdevelop: Fails to parse gdb 10 version string, won't debug programs



Package: kdevelop
Version: 4:5.6.0-3+b1
Severity: normal
Tags: upstream
X-Debbugs-Cc: brendon@quantumfurball.net

Dear Maintainer,

Evidently the version string returned from GDB has changed since the major
version switch from 9 to 10, and now kdevelop cannot interpret it. When I try
to run a project binary in debug mode, I get a red bar across the top of the
editor window saying:
You need gdb 7.0.0 or higher.
You are using: GNU gdb (Debian 10.1-1+b1) 10.1

Obviously 10.1 > 7.0.0, but from what I can gather, kdevelop doesn't seem to be
extracting the relevant portion of the "GNU gdb (Debian 10.1-1+b1) 10.1"
string. I can only close the notice bar - the debugger function in kdevelop no
longer works.

Triggered by local gdb package version, but I'm assuming the check logic comes
from upstream.

Best,
Brendon



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (990, 'testing-debug'), (990, 'testing'), (500, 'unstable-debug'), (500, 'unstable'), (100, 'experimental-debug'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.0-2-amd64 (SMP w/16 CPU threads)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kdevelop depends on:
ii  kdevelop-data                    4:5.6.0-3
ii  kdevelop56-libs                  4:5.6.0-3+b1
ii  kinit                            5.74.0-2
ii  kio                              5.74.0-2
ii  libapr1                          1.7.0-3
ii  libaprutil1                      1.6.1-5
ii  libastyle3                       3.1-2+b1
ii  libc6                            2.31-4
ii  libclang1-9                      1:9.0.1-15
ii  libgcc-s1                        10.2.0-16
ii  libgrantlee-templates5           5.2.0-2
ii  libkasten4controllers0           5:0.26.4-1
ii  libkasten4core0                  5:0.26.4-1
ii  libkasten4okteta2controllers0    5:0.26.4-1
ii  libkasten4okteta2core0           5:0.26.4-1
ii  libkasten4okteta2gui0            5:0.26.4-1
ii  libkf5archive5                   5.74.0-2
ii  libkf5bookmarks5                 5.74.0-2
ii  libkf5codecs5                    5.74.0-2
ii  libkf5completion5                5.74.0-2
ii  libkf5configcore5                5.74.0-2
ii  libkf5configgui5                 5.74.0-2
ii  libkf5configwidgets5             5.74.0-2
ii  libkf5coreaddons5                5.74.0-2
ii  libkf5crash5                     5.74.0-2
ii  libkf5declarative5               5.74.0-2
ii  libkf5guiaddons5                 5.74.0-3
ii  libkf5i18n5                      5.74.0-3
ii  libkf5iconthemes5                5.74.0-2
ii  libkf5itemmodels5                5.74.0-2
ii  libkf5itemviews5                 5.74.0-2
ii  libkf5jobwidgets5                5.74.0-2
ii  libkf5kiocore5                   5.74.0-2
ii  libkf5kiofilewidgets5            5.74.0-2
ii  libkf5kiogui5                    5.74.0-2
ii  libkf5kiowidgets5                5.74.0-2
ii  libkf5newstuff5                  5.74.0-2
ii  libkf5parts5                     5.74.0-2
ii  libkf5purpose-bin                5.74.0-2
ii  libkf5purpose5                   5.74.0-2
ii  libkf5service-bin                5.74.0-2
ii  libkf5service5                   5.74.0-2
ii  libkf5sonnetui5                  5.74.0-3
ii  libkf5texteditor5                5.74.0-3
ii  libkf5textwidgets5               5.74.0-2
ii  libkf5threadweaver5              5.74.0-2
ii  libkf5widgetsaddons5             5.74.0-3
ii  libkf5xmlgui5                    5.74.0-2+b1
ii  libkomparediff2-5                4:20.04.3-1
ii  libokteta3core0                  5:0.26.4-1
ii  libokteta3gui0                   5:0.26.4-1
ii  libprocesscore9                  4:5.19.5-4
ii  libprocessui9                    4:5.19.5-4
ii  libqt5core5a                     5.15.1+dfsg-2
ii  libqt5dbus5                      5.15.1+dfsg-2
ii  libqt5gui5                       5.15.1+dfsg-2
ii  libqt5help5                      5.15.1-2
ii  libqt5network5                   5.15.1+dfsg-2
ii  libqt5qml5                       5.15.1+dfsg-3
ii  libqt5quick5                     5.15.1+dfsg-3
ii  libqt5quickwidgets5              5.15.1+dfsg-3
ii  libqt5widgets5                   5.15.1+dfsg-2
ii  libqt5xml5                       5.15.1+dfsg-2
ii  libstdc++6                       10.2.0-16
ii  libsvn1                          1.14.0-3+b1
ii  qml-module-qtquick-controls      5.15.1-2
ii  qml-module-qtquick-layouts       5.15.1+dfsg-3
ii  qml-module-qtquick-window2       5.15.1+dfsg-3
ii  qml-module-qtquick-xmllistmodel  5.15.1-2
ii  qml-module-qtquick2              5.15.1+dfsg-3
ii  qml-module-qtwebkit              5.212.0~alpha4-7

Versions of packages kdevelop recommends:
ii  clang-9       1:9.0.1-15
ii  g++           4:10.2.0-1
ii  gcc           4:10.2.0-1
ii  gdb           10.1-1+b1
ii  kapptemplate  4:20.08.2-1
ii  kio-extras    4:20.08.3-1
ii  make          4.3-4

Versions of packages kdevelop suggests:
ii  clang          1:9.0-49.1
ii  clang-tidy     1:9.0-49.1
ii  clazy          1.7-5
ii  cmake          3.18.4-1
ii  cppcheck       2.2-1
ii  git            1:2.29.2-1
ii  heaptrack      1.1.0+20180922.gitf752536-4+b2
ii  kdevelop-l10n  4:5.6.0-3
ii  konsole        4:20.08.3-1
pn  meson          <none>
pn  ninja-build    <none>

-- no debconf information


Reply to: