This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]