delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/26/00:50:14

Date: Sat, 25 Mar 2000 22:36:09 -0500
Message-Id: <200003260336.WAA22182@mescaline.gnu.org>
From: Eli Zaretskii <eliz AT gnu DOT org>
To: djgpp AT delorie DOT com
In-reply-to: <8bikck$54qp1$1@fu-berlin.de> (buers@gmx.de)
Subject: Re: Gdb and floating point
References: <8bikck$54qp1$1 AT fu-berlin DOT de>
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

   Is there a possibility to print floating point values, that are 
   currently in a floating point register, by the name of the variable?

I don't know.  I'd suggest first to find out whether GCC at all puts
that info into the debugging info it attaches to the program.  (I
suspect it doesn't, in which case it's not a GDB problem.)  Questions
about this latter issue should probably be posted to the Binutils
forum.

I have a newer version of GDB on my development machine which might
solve this problem, but I'm on the road now, so you will have to wait
for a few days if you want to know.

One thing I *do* know that GDB 4.18 doesn't handle in the DJGPP port
is functions that return FP values in FP registers: it displays
garbage as the return value for such functions.  GDB 5.0 will corrects
this bug.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019