Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Status of gdb/gdbserver support for RISC-V 64 ?
@ 2018-11-24 21:44 Thomas Petazzoni
  2018-11-26 11:12 ` Mark Corbin
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Petazzoni @ 2018-11-24 21:44 UTC (permalink / raw)
  To: buildroot

Hello Mark,

I'm curious to know what is the status of RISC-V 64 support in
gdb/gdbserver ?

Just tried building gdbserver with gdb 8.1.1, and it says:

  Error: target not supported by gdbserver.

Is the support on its way upstream ? We probably need to add a few more
dependencies in package/gdb/Config.in.host to prevent people from
trying to build gdb versions that don't have RISC-V 64 support.

Best regards,

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] Status of gdb/gdbserver support for RISC-V 64 ?
  2018-11-24 21:44 [Buildroot] Status of gdb/gdbserver support for RISC-V 64 ? Thomas Petazzoni
@ 2018-11-26 11:12 ` Mark Corbin
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Corbin @ 2018-11-26 11:12 UTC (permalink / raw)
  To: buildroot

Hello Thomas

On 24/11/2018 21:44, Thomas Petazzoni wrote:
> Hello Mark,
>
> I'm curious to know what is the status of RISC-V 64 support in
> gdb/gdbserver ?
>
> Just tried building gdbserver with gdb 8.1.1, and it says:
>
>   Error: target not supported by gdbserver.
>
> Is the support on its way upstream ? We probably need to add a few more
> dependencies in package/gdb/Config.in.host to prevent people from
> trying to build gdb versions that don't have RISC-V 64 support.

RISC-V gdb support is upstream already, but gdbserver for RISC-V doesn't
exist yet.

I guess that for RISC-V we should prevent gdbserver
(BR2_PACKAGE_GDB_SERVER) and cross gdb (BR2_PACKAGE_HOST_GDB) from being
built and select 'full debugger' (BR2_PACKAGE_GDB_DEBUGGER) for native
RISC-V gdb builds.

I'll take a look at the configuration options.

Regards

Mark

-- 
Mark Corbin
Embecosm Ltd.
https://www.embecosm.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-26 11:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-24 21:44 [Buildroot] Status of gdb/gdbserver support for RISC-V 64 ? Thomas Petazzoni
2018-11-26 11:12 ` Mark Corbin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox