Building Gdbserver is failing for Riscv Arch.

Ghalib Khan ghalib.khan@exaleapsemi.com
Tue Aug 11 16:38:25 GMT 2020


Hello,

         While building an Native GDBserver for RISCV Arch. with the following steps,

  1.  Downloaded GDB sources from https://ftp.gnu.org/gnu/gdb/gdb-9.2.tar.gz
  2.  untar gdb-9.2.tar.gz<https://ftp.gnu.org/gnu/gdb/gdb-9.2.tar.gz>
  3.  cd gdb
  4.  ./configure --prefix=$PWD/install --enable-gdbserver
  5.  make

Here i have Hit with following Error,

checking whether gdbserver is supported on this host... no
configure: error: Automatic gdbserver build is not supported for this configuration
Makefile:9533: recipe for target 'configure-gdb' failed
make[1]: *** [configure-gdb] Error 1
make[1]: Leaving directory '/home/khan/khan/riscv-tool/gdb-9.2/build'
Makefile:851: recipe for target 'all' failed
make: *** [all] Error 2


  I heard that GDBSERVER is now Ported to RISCV but still it's not working, if you known anything to build GDBserver for RISCV please let me know.

Thanks
Ghalib khan c



More information about the Gdb mailing list