* [Buildroot] or1k - openrisc, gdb
[not found] <CAKtOgoSxdRRucLoQW6eExuw0n2J26wFC0W6w2hKqOmuuGSxXqA@mail.gmail.com>
@ 2019-02-26 8:36 ` Thomas Petazzoni
0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2019-02-26 8:36 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-02-26 8:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CAKtOgoSxdRRucLoQW6eExuw0n2J26wFC0W6w2hKqOmuuGSxXqA@mail.gmail.com>
2019-02-26 8:36 ` [Buildroot] or1k - openrisc, gdb Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.