From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4943 invoked by alias); 12 Feb 2002 16:57:35 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 4779 invoked from network); 12 Feb 2002 16:57:33 -0000 Received: from unknown (HELO atrey.karlin.mff.cuni.cz) (195.113.31.123) by sources.redhat.com with SMTP; 12 Feb 2002 16:57:33 -0000 Received: (from hubicka@localhost) by atrey.karlin.mff.cuni.cz (8.9.3/8.9.3/Debian 8.9.3-21) id RAA24625; Tue, 12 Feb 2002 17:57:17 +0100 Date: Tue, 12 Feb 2002 08:57:00 -0000 From: Jan Hubicka To: Eli Zaretskii Cc: jh@suse.cz, gcc@gcc.gnu.org, gdb@sources.redhat.com Subject: Re: Debugging of gcc 3.1 programs with -mfpmath=sse Message-ID: <20020212165717.GA23313@atrey.karlin.mff.cuni.cz> References: <20020212143841.GC5736@atrey.karlin.mff.cuni.cz> <7458-Tue12Feb2002185243+0200-eliz@is.elta.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7458-Tue12Feb2002185243+0200-eliz@is.elta.co.il> User-Agent: Mutt/1.3.24i X-SW-Source: 2002-02/txt/msg00188.txt.bz2 > > Date: Tue, 12 Feb 2002 15:38:41 +0100 > > From: Jan Hubicka > > > > while hunting down the bugs in gcc3.1 SSE scalar code generation I've noticed > > that new gdb5.1 supports SSE (great :), but insist on printing the variables in > > hexadecimal form, instead of as floats, that is somewhat anoying. Since I am > > having minimal insight to gdb internals, and somehow I want to keep that for > > some time, I would like to ask, what needs to be done to get floats displayed > > right > > Doesn't "p/f" work? I didn't tested, but shouldn't gdb automatically print the variable in proper format - ie if it is "float", print it in floating point, not hexa? Honza