From: Andrew Cagney <ac131313@cygnus.com>
To: Peter Barada <pbarada@mail.wm.sps.mot.com>
Cc: gdb@sources.redhat.com
Subject: Re: support for different sized FPU registers
Date: Sat, 01 Jun 2002 15:33:00 -0000 [thread overview]
Message-ID: <3CF94BAE.7000506@cygnus.com> (raw)
In-Reply-To: <200205292217.g4TMH7300610@hyper.wm.sps.mot.com>
> I'm trying to add GDB remote support for the ColdFire v4e, and I'm
> running into problems with the FPU register definitions.
>
> On the ColdFire v4e, the FPU registers are 64 bit, but the gdb is
> expecting 96 bit register values from a 68881. As a result I'm
> getting some 'Remote reply is too short' messages from gdb when the
> stub responds to a 'g' packet and on the host the register contents
> are all wrong(from 'info reg').
>
> What's the best way of telling gdb(for the coldfire portion of a
> m68k-elf configured build) that the FPU registers are only 64 bits
> instead of 96)? I still want this configuration to support 040s and
> 060s which have the 96 bit FPU registers as well as a ColdFire's 64
> bit FPU registers...
The most immediate thing that is needed is for the m68k family to be
up-dated to the new multi-arch framework. Once that is done, handling
both a coldfire and an m68k is fairly mechanical. Check other targets
such as PPC, xstormy16, mn10300 et.al. for examples.
Do you have an FSF assignment in place?
Andrew
next prev parent reply other threads:[~2002-06-01 22:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-29 15:17 Peter Barada
2002-06-01 15:33 ` Andrew Cagney [this message]
2002-06-03 7:06 ` Peter Barada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3CF94BAE.7000506@cygnus.com \
--to=ac131313@cygnus.com \
--cc=gdb@sources.redhat.com \
--cc=pbarada@mail.wm.sps.mot.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox