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] Sparc/Linux fixes part 1


   From: Andrew Cagney <ac131313@cygnus.com>
   Date: Fri, 19 Apr 2002 22:13:05 -0400

   > Some more commentary, just to be absolutely clear...
   > 
   > Note that this is an OS-specific setting, and the current
   > multi-arch code does not lend itself to anything other
   > than cpu target gdbarch inits.
   
   sizeof(long double) is a property of the ABI not the OS.
   
Under Linux/Sparc we, unfortunately, did not follow the ABI, so
effectively we do have an OS-specific Sparc 32-bit ABI in that
we use 8 byte long doubles.

   The value of long double can be set at run time by examining information 
   provided by the BFD.  ARM does this for the ABI, MIPS this for almost 
   everything.
   
I don't see mips-tdep.c using bfd information in it's one and only
call to set_gdbarch_long_double_bit(), what am I overlooking?


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