Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: gdb-patches@sources.redhat.com, Corinna Vinschen <vinschen@redhat.com>
Subject: ARM float changes
Date: Fri, 08 Feb 2002 08:41:00 -0000	[thread overview]
Message-ID: <20020208114132.A17495@nevyn.them.org> (raw)

(Sorry for breaking threading, I have a trigger happy delete finger...)

Have you tested this change on stabs debugging?  If you were testing with
GCC head and did not do so explicitly, GCC now defaults to DWARF-2 for a
substantial number of targets.

I ask because your change is probably wrong for stabs.  Stabs _never_ sets
TYPE_FLAG_PROTOTYPED at present, and so this may break the calling of
prototyped functions taking float using stabs debugging.

default_coerce_float_to_double appears to have the opposite problem and
break DWARF-2.


For instance, my results on i386-linux, callfuncs.exp:
	  standard coercion			default coercion
	  =================			================

GCC 2.95
  stabs+	1 XPASS, 1 FAIL, 1 XFAIL	1 FAIL, 2 XPASS
  dwarf2	1 FAIL				5 FAIL

GCC 3.0.4pre
  stabs+	1 XPASS, 1 XFAIL		2 XPASS
  dwarf2	0 FAILS				4 FAIL


What particularly do these mean?
  - 1 FAIL for all the 2.95 cases is unrelated, a backtrace/prologue
problem.
  - The default coercion, which GDB uses on this target, promotes
floats on DWARF-2.  Incorrectly.
  - The "standard" coercion promotes floats incorrectly on stabs, but in two
of the four cases we promote incorrectly for DWARF-2.

Simply disabling promotion is about equivalent to default coercion.  

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


             reply	other threads:[~2002-02-08 16:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-08  8:41 Daniel Jacobowitz [this message]
2002-02-08  9:14 ` Richard Earnshaw
2002-02-08  9:29   ` Andrew Cagney
2002-02-08  9:35     ` Daniel Jacobowitz

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=20020208114132.A17495@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=vinschen@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