GDB can be built as multitarget which can debug multiple architectures and is often installed without a target prefix.