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

I have tried with master sources, with that gdbserver was build successfully, but while using gdbserver following Issue i have hit.

warning: while parsing target description (at line 4): Target description specified unknown architecture "riscv:rv64id"
warning: Could not load XML target description; ignoring
Remote register badly formatted: T0502:50fcffff3f000000;20:005ffef73f000000;thread:p817f.817f;core:2;
here: 3f000000;20:005ffef73f000000;thread:p817f.817f;core:2;
(gdb)

________________________________
From: Jan Vrany <jan.vrany@fit.cvut.cz>
Sent: 12 August 2020 12:23 AM
To: Ghalib Khan <ghalib.khan@exaleapsemi.com>; gdb@sourceware.org <gdb@sourceware.org>
Subject: Re: Building Gdbserver is failing for Riscv Arch.

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

[EXT]

  reply	other threads:[~2020-08-12  8:23 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
2020-08-12  8:23   ` Ghalib Khan [this message]
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=MA1PR0101MB13184C17EF72AD118CF83794E8420@MA1PR0101MB1318.INDPRD01.PROD.OUTLOOK.COM \
    --to=ghalib.khan@exaleapsemi.com \
    --cc=gdb@sourceware.org \
    --cc=jan.vrany@fit.cvut.cz \
    /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).