gdb 9.2 asserts when connecting to libogc's gdbstub
Posted: Sat Nov 28, 2020 10:54 pm
When I try to debug the remote target (wii gdbstub example via usb gecko) with gdb 9.2, I get the following error:
Googling around, it looks like a GDB issue and this patch appears to fix it. The patch is included in gdb 10.1 (well, with several improvements on-top of it), so I guess a simple option is to simply upgrade.
BTW, I was going to test upgrading to gdb 10.1 myself, but I couldn't find the PKGBUILD for gdb or any of the toolchain in the devkitPro/pacman-packages repo. Am I blind, or is it hiding away in another repo I can't find?
Code: Select all
Reading symbols from gdbstub.elf...
../../gdb/inferior.c:283: internal-error: inferior* find_inferior_pid(int): Assertion `pid != 0' failed.
A problem internal to GDB has been detected,
BTW, I was going to test upgrading to gdb 10.1 myself, but I couldn't find the PKGBUILD for gdb or any of the toolchain in the devkitPro/pacman-packages repo. Am I blind, or is it hiding away in another repo I can't find?