Re: Building Gdbserver is failing for Riscv Arch.
Jan Vrany <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 2020-08-11 at 16:38 +0000, Ghalib Khan wrote: > 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, I think gdbserver for RISC-V came after GDB 9. Try GDB master (git://sourceware.org/git/binutils-gdb.git) - that should work. It does work for me. And you don't need to pass `--enable-gdbserver`, it is build automatically. HTH, Jan