mips32, dsp563xx: fix segfault on Gdb attach