This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA/mips] 128-bit long doubles for N32/N64
Date: Tue, 3 Aug 2004 09:31:35 -0400
From: Paul Koning <pkoning@equallogic.com>
>>>>> "Mark" == Mark Kettenis <kettenis@jive.nl> writes:
>> I am ok with documenting this approximation in the GDB manual.
>> If whoever wants to fix this later, then fine. But in the
>> meantime, I think something is better than nothing.
Mark> Folks, Please realize that in practice, printing an
Mark> approximation is the best we can do anyway.
I'm not sure the present case warrants the effort, but I don't think
that's true. You could lift the gcc code in real.c, which has
conversions between target format and an oversized internal format.
With that you would be able to process 128 bit floats correctly on any
host.
Ah, yes, of course. What I meant to say is that with the current
state of affairs in GDB, that is, without some sort of floating-point
emulator, printing an approximation is the best we can do.
Mark