From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17922 invoked by alias); 13 Nov 2006 13:48:06 -0000 Received: (qmail 17898 invoked by uid 22791); 13 Nov 2006 13:48:04 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Mon, 13 Nov 2006 13:47:54 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GjcA0-0005SH-Es; Mon, 13 Nov 2006 08:47:40 -0500 Date: Mon, 13 Nov 2006 13:48:00 -0000 From: Daniel Jacobowitz To: Mark Kettenis Cc: Ulrich Weigand , gdb-patches@sourceware.org Subject: Re: [RFA][3/5] New port: Cell BE SPU (the port itself) Message-ID: <20061113134739.GA20834@nevyn.them.org> Mail-Followup-To: Mark Kettenis , Ulrich Weigand , gdb-patches@sourceware.org References: <200611131227.kADCRe28032402@d12av02.megacenter.de.ibm.com> <22583.192.87.1.22.1163421727.squirrel@webmail.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <22583.192.87.1.22.1163421727.squirrel@webmail.xs4all.nl> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-11/txt/msg00098.txt.bz2 On Mon, Nov 13, 2006 at 01:42:07PM +0100, Mark Kettenis wrote: > That's not really what I'm talking about. I'm talking about having a single > gdb binary that is able to execute both native powerpc code and spu code > (but not at the same time). As far as I can tell, it should be possible > to do that by implementing to_can_run() in both ppc-linux-nat.c and > spu-linux-nat.c, such that only one returns true at any time. Hmm, I guess that would work. Would you include this in all native ppc64 debuggers? > I don't agree with Daniel here. The spu-linux-nat.c target vector is > only usable on a powerpc native debugger. Fair enough. I think of this as similar to a hypothetical remote-*.c module which is only usable on Windows, but I agree that it's not a good analogy. -- Daniel Jacobowitz CodeSourcery