From: Richard Earnshaw <rearnsha@arm.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: Richard.Earnshaw@arm.com, gdb@sources.redhat.com
Subject: Re: ARM floating point regs regression
Date: Tue, 22 Jan 2002 09:30:00 -0000 [thread overview]
Message-ID: <200201221729.RAA05113@cam-mail2.cambridge.arm.com> (raw)
In-Reply-To: Your message of "Tue, 22 Jan 2002 12:26:28 EST." <3C4DA0C4.9060506@cygnus.com>
> Hmm, type->type_specific.floatformat shouldn't be NULL here. Checking
> gdbtypes.c:
>
> builtin_type_i387_ext =
> init_type (TYPE_CODE_FLT, floatformat_i387_ext.totalsize / 8,
> 0, "builtin_type_i387_ext", NULL);
> TYPE_FLOATFORMAT (builtin_type_i387_ext) = &floatformat_i387_ext;
>
> which is good, but:
>
> builtin_type_arm_ext_littlebyte_bigword =
> init_type (TYPE_CODE_FLT,
> floatformat_arm_ext_littlebyte_bigword.totalsize / 8,
> 0, "builtin_type_arm_ext_littlebyte_bigword", NULL);
>
> is bad.
>
> I don't know how but almost all the lines initializing TYPE_FLOATFORMAT
> were lost.
>
Hmm, I think I understand why it is failing.
Although the FPA has an extended float format (which is used for stacking
regs across function calls), this type isn't used for "long double". So I
suspect the initialization code in gdbtypes.c is not setting it up
correctly for this case.
R.
next prev parent reply other threads:[~2002-01-22 17:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-23 3:45 Richard Earnshaw
2002-01-22 9:26 ` Andrew Cagney
2002-01-22 9:30 ` Richard Earnshaw [this message]
2002-01-22 10:01 ` Andrew Cagney
2002-01-22 10:10 ` Richard Earnshaw
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=200201221729.RAA05113@cam-mail2.cambridge.arm.com \
--to=rearnsha@arm.com \
--cc=Richard.Earnshaw@arm.com \
--cc=ac131313@cygnus.com \
--cc=gdb@sources.redhat.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