Date: Sun, 29 Jul 2001 13:25:00 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp-workers AT delorie DOT com Subject: Print an FP variable in a register inside GDB Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.