From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19949 invoked by alias); 8 Dec 2005 05:47:23 -0000 Received: (qmail 19940 invoked by uid 22791); 8 Dec 2005 05:47:21 -0000 X-Spam-Check-By: sourceware.org Received: from nameservices.net (HELO cw-ventures.com) (208.234.10.76) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 08 Dec 2005 05:47:20 +0000 Received: from [192.168.1.102] (S01060012170db558.cg.shawcable.net [68.146.99.119]) by cw-ventures.com (8.12.10/8.11.6) with ESMTP id jB85lH9O012742 for ; Thu, 8 Dec 2005 00:47:17 -0500 Subject: gdb for multicore processors ? From: Kim Lux To: gdb@sources.redhat.com Content-Type: text/plain Date: Thu, 08 Dec 2005 05:47:00 -0000 Message-Id: <1134020836.27506.21.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00084.txt.bz2 We need to port gdb to handle the Freescale (formerly Motorola) 68HC9S12X devices, which have 2 processors: the main CPU called the 9S12 and an auxillary IO RISC processor called the XGATE processor. Each processor has its own register set and instruction set. They are not the same. They share the same memory map, but the xgate processor addresses things differently. I'll provide more details of the processors as people need them. We already handle the 9S12 CPU with gdb in the 68HC9S12 devices. (No XGATE on them.) We interface to the processor via a Background Debug Pod. The 9S12X BDM can set breakpoints for each processor independently. So... how do we set GDB up to handle this ? We are building the BDM, so theoretically we could connect 2 gdb processes to the same BDM, if that helps. That would allow us to have a separate GDB instance for each process. Or should one GDB instance handle both processors ? The goal is to use gdb under Eclipse. There it would be preferable to have 2 separate instances of gdb. -- Kim Lux, Diesel Research Inc.