From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25263 invoked by alias); 18 Feb 2007 16:34:58 -0000 Received: (qmail 25255 invoked by uid 22791); 18 Feb 2007 16:34:57 -0000 X-Spam-Check-By: sourceware.org Received: from cantor.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 18 Feb 2007 16:34:52 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 93FBB124CC; Sun, 18 Feb 2007 17:34:45 +0100 (CET) From: Andreas Schwab To: Jan Kratochvil Cc: gdb-patches@sourceware.org Subject: Re: [RFC] print/x of a float/double should printf ("%a") References: <20070218153705.GA25940@host0.dyn.jankratochvil.net> <20070218160855.GA7414@caradoc.them.org> X-Yow: I will establish the first SHOPPING MALL in NUTLEY, New Jersey... Date: Sun, 18 Feb 2007 16:34:00 -0000 In-Reply-To: <20070218160855.GA7414@caradoc.them.org> (Daniel Jacobowitz's message of "Sun, 18 Feb 2007 11:08:56 -0500") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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-02/txt/msg00225.txt.bz2 Daniel Jacobowitz writes: > You can't use this representation with 'x' readily because you may not > be able to specify the type - e.g. you can't use 'x' to display 80-bit > extended. We can already distinguish beween float and double (/wf vs /gf), adding a size specfier for long double would be orthogonal to this. > Of course, we also want a way to show the bits of a register as normal > hex, not hex floating point. One might also want to print the contents of an integer register as a hex float. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."