-powerpc64-*-linux*) gdb_host=ppc64-linux
- # Support 'pseudo-native' debugging on the Cell BE
- if test "${target_cpu}" = "spu"; then
- gdb_host=spu-linux
- gdb_native=yes
- fi
- ;;
+powerpc64*-*-linux*) gdb_host=ppc64-linux ;;
+powerpc*-*-linux*) gdb_host=linux ;;
+
+riscv*-*-freebsd*) gdb_host=fbsd ;;
+riscv*-*-linux*) gdb_host=linux ;;