Package: gdb Version: 15.1-1 Severity: wishlist X-Debbugs-Cc: debian...@lists.debian.org
Dear Maintainer, There is basic support for debugging code running on AMD GPUs in gdb 14 and later. Please consider enabling this support by adding amd-dbgapi-dev to the Build-Depends on amd64. This will add a runtime dependency on librocm-dbgapi0. The configure script will build AMD GPU debugging support by default if amd-dbgapi-dev is found, but you can use --with-amd-dbgapi=<auto,yes,no> during configuration for more control. I have only tested this functionality on amd64 and I'm uncertain if it works on arm64 and ppc64el. There is no AMD KFD driver support for other architectures, aside from those three. Sincerely, Cory Bloor -- System Information: Debian Release: 12.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.10.6+bpo-amd64 (SMP w/12 CPU threads; PREEMPT) 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 gdb depends on: pn libbabeltrace1 <none> ii libc6 2.36-9+deb12u8 pn libdebuginfod1 <none> ii libexpat1 2.5.0-1 ii libgcc-s1 12.2.0-14 ii libgmp10 2:6.2.1+dfsg1-1.1 pn libipt2 <none> ii liblzma5 5.4.1-0.2 ii libmpfr6 4.2.0-1 ii libncursesw6 6.4-4 ii libpython3.11 3.11.2-6+deb12u3 ii libreadline8 8.2-1.3 pn libsource-highlight4v5 <none> ii libstdc++6 12.2.0-14 ii libtinfo6 6.4-4 ii libxxhash0 0.8.1-1 ii libzstd1 1.5.4+dfsg2-5 ii zlib1g 1:1.2.13.dfsg-1 Versions of packages gdb recommends: pn libc-dbg <none> Versions of packages gdb suggests: pn gdb-doc <none> pn gdbserver <none>