Re: [RFA/mips] Fix crash trying to print long double float

Andrew Cagney
2004-08-07T18:22:59Z

>>>2004-08-06 Joel Brobecker <brobecker@gnat.com>
>>>> >
>>>> > * mips-tdep.c (mips_gdbarch_init): Set size of long double
>>>> > to 128 bits for N32 and N64 ABIs.
>>>> >
>>>> >Tested on mips-irix. OK to apply?
>>
>>>
>>> Can you also clone / tweak the relevant floatformat (I'm wondering if it
>>> should just go in doublest.[hc] and we should stop using floatformat.[ch]).
>
>
> Yes. I am planning on doing this tonight. But could this done separately
> from this patch, or do you think it doesn't make sense?

Same patch.

> My other question is: Do we need to take care of the big endian
> convention only, or do we need to look at the LE case as well (I don't
> have a clue as to what is happening in that case :-(, if this ever makes
> any sense).

Just take care of the BE case (set nothing for the LE case). Now that
we've stopped the fatal crash this isn't an issue.

Andrew