Package: gdb-multiarch Version: 7.7.1+dfsg-5 Severity: normal Dear GDB Maintainers,
It's quite common to have a 64-bit kernel and 32-bit userspace in Debian, eg powerpc and sparc, where 64-bit userspace is not fully or officially supported. It appears that gdb-multiarch:powerpc fails to debug any ppc64 programs. Similarly gdb-multiarch:i386 cannot debug amd64 programs. Perhaps it's more useful to have gdb-multiarch:powerpc as a meta package that depends on gdb-multiarch:ppc64. (also for other 32/64 arch pairs.) Regards, Yixuan A test case, with ppc64 kernel, powerpc userspace, and a ppc64 chroot. (powerpc) $ cat > hello.c #include <stdio.h> int main() { printf("hello\n"); return 0; } (ppc64) $ gcc -static -ggdb -m64 hello.c -o hello (powerpc) $ gdb-multiarch ./hello Reading symbols from ./hello...done. (gdb) start Temporary breakpoint 1 at 0x100013a4: file hello.c, line 4. Starting program: .../hello warning: Selected architecture powerpc:common64 is not compatible with reported target architecture powerpc:common warning: Architecture rejected target-supplied description Program received signal SIGTRAP, Trace/breakpoint trap. 0x100013a40002d032 in ?? () (gdb) c Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. 0x100013a40002d032 in ?? () (gdb) n Cannot find bounds of current function (gdb) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org