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-irix SEGV: long doubles are 128 bits long on IRIX


On Wed, Jul 21, 2004 at 07:08:54PM -0700, Joel Brobecker wrote:
> > According to GCC long double is 128-bit for all n64 and n32 targets.
> 
> OK. So I am planning on setting the size to 128-bit for the following
> ABIs, is this the correct list:
>    . O64 (??? Didn't see any mention of this in the IRIX man pages)
>    . EABI32, EABI64
>    . N32/N64
> I will add the same set_gdbarch_...() call in each section of the case
> statement on mips_abi.
> 
> Would that be the correct patch?

Ehm; no, I don't think so.  I only said N32 and N64, and according to
GCC that's all it is.  The older ABIs don't have 128-bit long double.

I think the best thing would be to make this change in mips-tdep; some
additional changes for Irix and/or Linux may be necessary to get the
format right, though.

-- 
Daniel Jacobowitz


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