From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7468 invoked by alias); 21 Jun 2007 22:22:59 -0000 Received: (qmail 7459 invoked by uid 22791); 21 Jun 2007 22:22:58 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 21 Jun 2007 22:22:56 +0000 Received: from kahikatea.snap.net.nz (191.63.255.123.dynamic.snap.net.nz [123.255.63.191]) by viper.snap.net.nz (Postfix) with ESMTP id 317843D94B2; Fri, 22 Jun 2007 10:22:53 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id E86608FBF6; Fri, 22 Jun 2007 10:22:51 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18042.64059.198984.998512@kahikatea.snap.net.nz> Date: Thu, 21 Jun 2007 22:22:00 -0000 To: matinata@br.ibm.com Cc: Ulrich Weigand , Daniel Jacobowitz , gdb-patches@sourceware.org, eliz@gnu.org Subject: Re: [rfc/rfa] [4/4] SPU enhancements: GDB/MI extensions In-Reply-To: <1182392605.4974.58.camel@rmm-tp> References: <200706142004.l5EK4vTO021141@d12av02.megacenter.de.ibm.com> <1182392605.4974.58.camel@rmm-tp> X-Mailer: VM 7.19 under Emacs 22.1.50.4 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-06/txt/msg00414.txt.bz2 > So, roughly, a spu-info-dma would be transformed in to something like > this: > > -arch-info dma > ^done > (gdb) I'm out of my depth but isn't all this really target information, i.e., I could be on an i386 debugging spu remotely? It's for you to decide if you want to display the information as for variable objects or not but presumably there might be other architectures that want provide similar output, e.g, "info mytarget dma". So I think a further command is needed: (gdb) -target-name ^done,value="spu" (gdb) -target-info-list ^done,infos=[name="event",name="signal","name=mailbox",name="dma",name="proxydma"] > -arch-info-list-children dma > ^done,numchild="6",children=[child={name="dma.type",exp="type", > numchild="0",type="int"},child={name="dma.mask",exp="mask", > numchild="0",type="int"},child={name="dma.status",exp="status", > numchild="0",type="int"},child={name="dma.stall_and_notify", >... -- Nick http://www.inet.net.nz/~nickrob