* config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer

non-prototyped case over prototyped case for C.
	* config/pa/tm-hppa.h (COERCE_FLOAT_TO_DOUBLE):  Ditto.
This commit is contained in:
Fred Fish 1996-03-27 00:21:02 +00:00
parent 4f74c0421b
commit 7e2ff10d97
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Tue Mar 26 13:15:32 1996 Fred Fish <fnf@cygnus.com>
* config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer
non-prototyped case over prototyped case for C.
* config/pa/tm-hppa.h (COERCE_FLOAT_TO_DOUBLE): Ditto.
Sat Mar 23 17:24:28 1996 Fred Fish <fnf@cygnus.com> Sat Mar 23 17:24:28 1996 Fred Fish <fnf@cygnus.com>
* os9kread.c (os9k_process_one_symbol): Note nonportable * os9kread.c (os9k_process_one_symbol): Note nonportable

View File

@ -506,6 +506,7 @@ extern struct frame_info *setup_arbitrary_frame PARAMS ((int, CORE_ADDR *));
floats regardless of whether the function is prototyped, but the actual floats regardless of whether the function is prototyped, but the actual
values are passed as doubles for the non-prototyped case and floats for values are passed as doubles for the non-prototyped case and floats for
the prototyped case. Thus we choose to make the non-prototyped case work the prototyped case. Thus we choose to make the non-prototyped case work
and break the prototyped case. (FIXME). */ for C and break the prototyped case, since the non-prototyped case is
probably much more common. (FIXME). */
#define COERCE_FLOAT_TO_DOUBLE 1 #define COERCE_FLOAT_TO_DOUBLE (current_language -> la_language == language_c)

View File

@ -639,4 +639,5 @@ extern int deferred_stores;
information for float parameters, both prototyped and unprototyped, then information for float parameters, both prototyped and unprototyped, then
define this macro. This forces gdb to always assume that floats are define this macro. This forces gdb to always assume that floats are
passed as doubles and then converted in the callee. */ passed as doubles and then converted in the callee. */
#define COERCE_FLOAT_TO_DOUBLE 1 #define COERCE_FLOAT_TO_DOUBLE 1