Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] or1k - openrisc, gdb
Date: Tue, 26 Feb 2019 09:36:45 +0100	[thread overview]
Message-ID: <20190226093645.0c6f4d75@windsurf> (raw)
In-Reply-To: <CAKtOgoSxdRRucLoQW6eExuw0n2J26wFC0W6w2hKqOmuuGSxXqA@mail.gmail.com>

Hello Shimon,

Please Cc: the Buildroot mailing list for such questions. I've added it
in Cc. Thanks!

On Mon, 25 Feb 2019 23:05:43 +0200
Shimon Zadok <shimon.zadok@gmail.com> wrote:

> It seems that gdb is available for or1k,
> https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=tree;f=cpu;h=9adfae1a3b79dc955562b75284ba57536c6d8fd3;hb=HEAD

The presence of a or1k file in the cpu/ folder is not sufficient to
indicate that there is gdb support.

> Though the following commit says otherwise(, but may be outdated):
> commit 61b502794eda3fdd100eea9e8f3d0b78f8fe4151
> Author: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Date:   Sat Jun 3 15:39:38 2017 +0200
> 
>     gdb: not available on ARM noMMU and OpenRISC
> 
>     Neither gdb nor gdbserver have support for ARM noMMU and OpenRISC, so
>     let's disable gdb on those architectures.
> 
>     Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>     ---
>     Changes since v2:
>      - Fixed BR2_openrisc to BR2_or1k in Config.in.host
>     Changes since v1:
>      - Fixed BR2_openrisc to BR2_or1k
> 
> What would be the procedure to update that?

However, or1k support was indeed recently added in gdb, in commit:

  https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=42e151bf4cc66b8781f2b139c6da320095f9a045

This commit is not yet in any gdb release, so I guess waiting until 8.3
is released is necessary. Alternatively, you could use a Git commit for
the gdb version on or1k, like what is done for the ARC architecture.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

           reply	other threads:[~2019-02-26  8:36 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <CAKtOgoSxdRRucLoQW6eExuw0n2J26wFC0W6w2hKqOmuuGSxXqA@mail.gmail.com>]

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=20190226093645.0c6f4d75@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /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