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]

Re: Long double support on m68k


Andrew Cagney <ac131313@cygnus.com> writes:

|> > Yes (if they support the fpu at all).
|> > |> So, if a target's raw FP registers are in the correct format for
|> > |> REGISTER_CONVERT* then they are also in the correct format for this change
|> > |> and such targets will continue to work.  If a target's raw FP registers
|> > |> were not in the correct format then, that target is already broken and
|> > |> this change doesn't make things better or worse.
|> > Yes.  There is only one floating point format for the m68k fpu.  The
|> > previous version already assumed floatformat_m68881_ext, this patch just
|> > removes the conversion, and makes the raw format avaliable to gdb.
|> 
|> 
|> The other thing it affects is `sizeof (long double)`.  For GCC, at least,
|> is m68k's `sizeof (long double)` 12?

Yes, of course.  That's why I started with this patch, a testsuite failure
indicated that something was wrong.

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5


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