delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/07/29/06:23:40

Date: Sun, 29 Jul 2001 13:25:00 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp-workers AT delorie DOT com
Subject: Print an FP variable in a register inside GDB
Message-ID: <Pine.SUN.3.91.1010729132015.2410E-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

Talk about ancient bugs which lurk around for years!  Once the problem 
with remapping registers from the GCC scheme to GDB scheme was solved, 
not only does GDB say correctly ``Symbol "d" is a variable in register 
st0", but "print d" also prints the correct value instead of something 
like 1.12345e-312, both with COFF and stabs debugging.  I remember 
someone complaining about this on djgpp-workers more than a year ago.  It 
turned out the problem was not with variables in registers, but with 
incorrect register mapping.

- Raw text -


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