Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: Richard.Earnshaw@arm.com, gdb-patches@sources.redhat.com,
	Corinna Vinschen <vinschen@redhat.com>
Subject: Re: ARM float changes
Date: Fri, 08 Feb 2002 09:35:00 -0000	[thread overview]
Message-ID: <20020208123517.A23880@nevyn.them.org> (raw)
In-Reply-To: <3C640AF4.7040300@cygnus.com>

On Fri, Feb 08, 2002 at 12:29:24PM -0500, Andrew Cagney wrote:
> >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
> >>
> >
> >
> >So doesn't all this mean that the coercion model should be selected based 
> >on the debug-info type?  Can we do that dynamically in the back-end?
> 
> 
> I suspect, in truth the target should never have even been allowed to 
> enter the picture.  The core of GDB should have set a policy based on 
> debug info and then stuck with it.
> 
> The change at least makes things consistent with other modern targets. 
> From memory the comment that goes with standard_...() hints strongly 
> that no target should ever be using default_...().
> 
> I think this illustrates my contention that GDB should bite the bullet 
> and ``break'' some targets but fix the problem.

See my comment on gdb@ about this just now.  While standard appears to
be the way to go for DWARF-2, the right solution for stabs just seems
to be pretending we always have a prototype.  I'll look over what
various targets actually set this to... dealing with setting it based
on debug info is somewhat dubious, since debug info may be mixed in the
same objfile.

> I can always make the next release 6.0 :-^

:)

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


      reply	other threads:[~2002-02-08 17:35 UTC|newest]

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

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=20020208123517.A23880@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=Richard.Earnshaw@arm.com \
    --cc=ac131313@cygnus.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