From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8963 invoked by alias); 4 Jun 2007 19:36:17 -0000 Received: (qmail 8955 invoked by uid 22791); 4 Jun 2007 19:36:17 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 04 Jun 2007 19:36:15 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id C12EF982E4 for ; Mon, 4 Jun 2007 19:36:13 +0000 (GMT) Received: from caradoc.them.org (dsl093-172-095.pit1.dsl.speakeasy.net [66.93.172.95]) by nan.false.org (Postfix) with ESMTP id 83F7C982E2 for ; Mon, 4 Jun 2007 19:36:10 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1HvILA-0006Cd-JQ for gdb-patches@sourceware.org; Mon, 04 Jun 2007 15:35:44 -0400 Date: Mon, 04 Jun 2007 19:36:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: Re: [rfc/rfa] [2/4] SPU enhancements: main part Message-ID: <20070604193544.GB23516@caradoc.them.org> Mail-Followup-To: gdb-patches@sourceware.org References: <200706021932.l52JW0D7005267@d12av02.megacenter.de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200706021932.l52JW0D7005267@d12av02.megacenter.de.ibm.com> User-Agent: Mutt/1.5.15 (2007-04-09) 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/msg00037.txt.bz2 On Sat, Jun 02, 2007 at 09:32:00PM +0200, Ulrich Weigand wrote: > Hello, > > this patch adds extended SPU query support for the spu-elf target. > The target currently uses only the "regs" and "mem" files present > in the Linux spufs directory associated with an SPU context. > > However, those contexts actually provide a variety of different > files containing a number of additional information about the > SPU context which can be very helpful when debugging SPU programs. > > This patch makes that information available. Some of the data > is presented in the form of additional pseudo registers, allowing > to both display and modify the status. Other data is read-only, > and is presented by a number of new "info spu" commands. Looks nice to me. In my ideal world we could formulate an XML description of this data and let GDB do generic pretty-printing, but this is certainly a reasonable way to do it - making things that generic is hard :-) -- Daniel Jacobowitz CodeSourcery