Debugging on MIPS hardware
gdb works on the malta board.
If you want to debug code created by llvm/clang for Mips then you need a more recent version of gdb. I have built one and placed it in /mips/tools/mips/swpkgs/lib/malta-bkirby-tools/bin/gdb.
Malta-bkirby is a legitimate debian linux with NFS mounts so you can download, configure and build any normal open source software.