solib-svr4.c to the MD makefiles because they are native files for alpha and sparc64, but target files for amd64, i386 and ia64. Note that kgdb(1) does not yet build as a cross-debugger due to libkvm.
and sparc64. Note that the debugger doesn't support threading, nor kernel debugging yet.