From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18001 invoked by alias); 23 Jan 2008 16:56:55 -0000 Received: (qmail 17993 invoked by uid 22791); 23 Jan 2008 16:56:55 -0000 X-Spam-Check-By: sourceware.org Received: from igw3.br.ibm.com (HELO igw3.br.ibm.com) (32.104.18.26) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 23 Jan 2008 16:56:26 +0000 Received: from mailhub3.br.ibm.com (unknown [9.18.232.110]) by igw3.br.ibm.com (Postfix) with ESMTP id 65EFA3900EE for ; Wed, 23 Jan 2008 14:47:47 -0200 (BRDT) Received: from d24av01.br.ibm.com (d24av01.br.ibm.com [9.18.232.46]) by mailhub3.br.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m0NGuLGi3027032 for ; Wed, 23 Jan 2008 14:56:23 -0200 Received: from d24av01.br.ibm.com (loopback [127.0.0.1]) by d24av01.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m0NGuKEa008120 for ; Wed, 23 Jan 2008 14:56:20 -0200 Received: from [9.18.238.41] (dyn531774.br.ibm.com [9.18.238.41]) by d24av01.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m0NGuJ7Y008106; Wed, 23 Jan 2008 14:56:19 -0200 Subject: Re: Printing decimal128 types out of registers From: Thiago Jung Bauermann To: Daniel Jacobowitz Cc: Mark Kettenis , Luis Machado , gdb-patches@sourceware.org In-Reply-To: <20080123152007.GA8286@caradoc.them.org> References: <1200927274.32125.36.camel@localhost.localdomain> <200801211730.m0LHUGbu021315@brahms.sibelius.xs4all.nl> <1194460412.6686.34.camel@localhost> <1200596592.27321.20.camel@gargoyle> <1200598580.32125.11.camel@localhost.localdomain> <1200670954.10815.1.camel@gargoyle> <20080119000423.GA15057@caradoc.them.org> <1200927274.32125.36.camel@localhost.localdomain> <20080121175413.GA25254@caradoc.them.org> <1201101039.11950.56.camel@localhost.localdomain> <20080123152007.GA8286@caradoc.them.org> Content-Type: text/plain Date: Wed, 23 Jan 2008 16:56:00 -0000 Message-Id: <1201107379.11950.70.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.12.2 Content-Transfer-Encoding: 7bit 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: 2008-01/txt/msg00555.txt.bz2 On Wed, 2008-01-23 at 10:20 -0500, Daniel Jacobowitz wrote: > Here's one (of many) possible ways you could do it. Define an > appropriate property in an XML file for Power6, and add that to the > list of built-in descriptions just like the existing ones. In > ppc-linux-nat.c and in gdbserver, check the auxv vector for the > dfp capability. If it's present, return the Power6 description. > Other non-Linux targets can handle this in the appropriate way > for each target. > > For the gdbserver part you'd probably want to wait until Ulrich's > biarch patches go in; that may simplify it. I'll try this. Thanks for the suggestion. > If this is too complicated, I wouldn't argue against a patch that just > added them if the floating point regsiters are present. Seems like it > won't be useful on a lot of processors though. Agreed. -- []'s Thiago Jung Bauermann Software Engineer IBM Linux Technology Center