From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id A67DD3858034 for ; Sat, 20 Feb 2021 06:54:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A67DD3858034 Received: from vapier (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 702E8340FC2; Sat, 20 Feb 2021 06:54:55 +0000 (UTC) Date: Sat, 20 Feb 2021 01:54:54 -0500 From: Mike Frysinger To: Howard Chu Cc: mx , gdb Subject: Re: Is it possible to remote debug a multicore system of which each core has different instruction set arch? Message-ID: Mail-Followup-To: Howard Chu , mx , gdb References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2021 06:54:59 -0000 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