public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Jan Vrany <jan.vrany@fit.cvut.cz>
To: Ghalib Khan <ghalib.khan@exaleapsemi.com>,
	"gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: Building Gdbserver is failing for Riscv Arch.
Date: Tue, 11 Aug 2020 19:53:06 +0100	[thread overview]
Message-ID: <8f0fb1e589869e11597626c7a309c13b594ebf89.camel@fit.cvut.cz> (raw)
In-Reply-To: <MA1PR0101MB1318C831F87F821ECFAA2E03E8450@MA1PR0101MB1318.INDPRD01.PROD.OUTLOOK.COM>

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


  reply	other threads:[~2020-08-11 18:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-11 16:38 Ghalib Khan
2020-08-11 18:53 ` Jan Vrany [this message]
2020-08-12  8:23   ` Ghalib Khan
2020-08-14  8:25     ` Andrew Burgess

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8f0fb1e589869e11597626c7a309c13b594ebf89.camel@fit.cvut.cz \
    --to=jan.vrany@fit.cvut.cz \
    --cc=gdb@sourceware.org \
    --cc=ghalib.khan@exaleapsemi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).