From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13817 invoked by alias); 6 Dec 2006 22:55:25 -0000 Received: (qmail 13605 invoked by uid 22791); 6 Dec 2006 22:55:23 -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; Wed, 06 Dec 2006 22:55:13 +0000 Received: from kahikatea.snap.net.nz (p202-124-120-99.snap.net.nz [202.124.120.99]) by viper.snap.net.nz (Postfix) with ESMTP id 17DCC3DAAE1; Thu, 7 Dec 2006 11:56:13 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id E9A6DBE3D4; Thu, 7 Dec 2006 11:23:07 +1300 (NZDT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17783.17097.37781.935178@kahikatea.snap.net.nz> Date: Wed, 06 Dec 2006 22:55:00 -0000 To: Daniel Jacobowitz Cc: Vladimir Prus , gdb-patches@sources.redhat.com Subject: Re: Language of registers In-Reply-To: <20061206220333.GB14086@nevyn.them.org> References: <17783.15109.940151.497949@kahikatea.snap.net.nz> <20061206220333.GB14086@nevyn.them.org> X-Mailer: VM 7.19 under Emacs 22.0.91.13 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: 2006-12/txt/msg00082.txt.bz2 Daniel Jacobowitz writes: > On Thu, Dec 07, 2006 at 10:49:57AM +1300, Nick Roberts wrote: > > > When using variable objects, the frontend already has the > > > parsing/display code. > > > > What would your variable object print for xmm1? > > Instead of a big string, it could have a triangle to expand xmm1, > display it as uint32_t[4] and uint8_t[16] on different lines... just > like we do for structures, right? OK, I see now. I'm not familiar with these large registers (just the ones that hold one value!). I was just thinking that maybe variable objects are `heavy armour' for registers and that it might be simpler to change the output format of the -data-list-* commands instead. -- Nick http://www.inet.net.nz/~nickrob