public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Is it possible to remote debug a multicore system of which each core has different instruction set arch?
@ 2021-02-20  2:31 mx
  2021-02-20  2:46 ` Howard Chu
  0 siblings, 1 reply; 3+ messages in thread
From: mx @ 2021-02-20  2:31 UTC (permalink / raw)
  To: gdb

Is it possible to remote debug a multicore system of which each core has different instruction set arch? For example if I have a two core chip, one core is cortex-m3, the other is riscv-i32. Or if I can debug multiple chip at the same time, each of which is different arch? I think this feature is important, since in the future there will be more debug situations like this.

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

* Re: Is it possible to remote debug a multicore system of which each core has different instruction set arch?
  2021-02-20  2:31 Is it possible to remote debug a multicore system of which each core has different instruction set arch? mx
@ 2021-02-20  2:46 ` Howard Chu
  2021-02-20  6:54   ` Mike Frysinger
  0 siblings, 1 reply; 3+ messages in thread
From: Howard Chu @ 2021-02-20  2:46 UTC (permalink / raw)
  To: mx, gdb

mx via Gdb wrote:
> Is it possible to remote debug a multicore system of which each core has different instruction set arch? For example if I have a two core chip, one core is cortex-m3, the other is riscv-i32. Or if I can debug multiple chip at the same time, each of which is different arch? I think this feature is important, since in the future there will be more debug situations like this.
> 
If such a heterogeneous hardware system exists, the different cores will necessarily be running different
OS images. So treat it as debugging two physically separate machines, nothing different from today.

-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/

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

* Re: Is it possible to remote debug a multicore system of which each core has different instruction set arch?
  2021-02-20  2:46 ` Howard Chu
@ 2021-02-20  6:54   ` Mike Frysinger
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2021-02-20  6:54 UTC (permalink / raw)
  To: Howard Chu; +Cc: mx, gdb

On 20 Feb 2021 02:46, Howard Chu wrote:
> mx via Gdb wrote:
> > Is it possible to remote debug a multicore system of which each core has different instruction set arch? For example if I have a two core chip, one core is cortex-m3, the other is riscv-i32. Or if I can debug multiple chip at the same time, each of which is different arch? I think this feature is important, since in the future there will be more debug situations like this.
> 
> If such a heterogeneous hardware system exists, the different cores will necessarily be running different
> OS images. So treat it as debugging two physically separate machines, nothing different from today.

fwiw, this situation isn't theoretical.  TI makes an ARM + C6X SoC
combo where both run Linux.
https://en.wikipedia.org/wiki/Texas_Instruments_DaVinci
-mike

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

end of thread, other threads:[~2021-02-20  6:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-20  2:31 Is it possible to remote debug a multicore system of which each core has different instruction set arch? mx
2021-02-20  2:46 ` Howard Chu
2021-02-20  6:54   ` Mike Frysinger

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).