This is the mail archive of the
mailing list for the GDB project.
Re: RFC: Slay COERCE_FLOAT_TO_DOUBLE
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 06 Jan 2003 17:42:29 -0500
- Subject: Re: RFC: Slay COERCE_FLOAT_TO_DOUBLE
- References: <20021223203031.GA18990@nevyn.them.org>
Stabs compilers (I only checked GCC and Sun Workshop CC, but those are the
Can you expand a bit here. When exactly do the () become (void)?
Looking at the changes to stabs, mdebug and hpread it appears to reverse
the default for all non dwarf* cases - assume prototyped rather than
un-prototyped? That's a pretty radical change and needs to be clearly
spelt out in at least the NEWS file.
two major ones) emit the call-as type in the debug information. I.E. an
unprototyped function taking a float argument will have a type signature
that says it takes a double. So the easy thing to do for stabs is to set
TYPE_FLAG_PROTOTYPED always, with appropriate commentary. I've done this.
It caused a minor bit of testsuite churn, since some ()'s became (void)'s; I
think that's OK, we know they are really void functions anyway.
(Like many people I'm back from a break and am only just getting to
these e-mails. This is probably why there were few responses earlier.)