diff options
author | Joel Brobecker <brobecker@gnat.com> | 2003-04-22 23:04:40 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2003-04-22 23:04:40 +0000 |
commit | 772968793e153e2091371b08a64eba6a414c040c (patch) | |
tree | b3a4a614a2070a6c87138af704872094fd08674c /gdb/hppa-tdep.c | |
parent | 341eccbc3efd82f1273d027d190ea87fde78a943 (diff) | |
download | gdb-772968793e153e2091371b08a64eba6a414c040c.zip gdb-772968793e153e2091371b08a64eba6a414c040c.tar.gz gdb-772968793e153e2091371b08a64eba6a414c040c.tar.bz2 |
* config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro.
Update all the tests using SOFT_FLOAT considering the fact that
this macro was always set to 0.
* config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT
considering the fact that this macro was always set to 0.
* hppa-tdep.h (hppa_store_return_value): Likewise.
(hppa_extract_return_value): Likewise.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r-- | gdb/hppa-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index affc5d3..482e475 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -4763,7 +4763,7 @@ hppa_store_return_value (struct type *type, char *valbuf) ? (8 - TYPE_LENGTH (type)) : (4 - TYPE_LENGTH (type))), valbuf, TYPE_LENGTH (type)); - if (! SOFT_FLOAT && TYPE_CODE (type) == TYPE_CODE_FLT) + if (TYPE_CODE (type) == TYPE_CODE_FLT) deprecated_write_register_bytes (REGISTER_BYTE (FP4_REGNUM), valbuf, TYPE_LENGTH (type)); } @@ -4778,7 +4778,7 @@ hppa_store_return_value (struct type *type, char *valbuf) void hppa_extract_return_value (struct type *type, char *regbuf, char *valbuf) { - if (! SOFT_FLOAT && TYPE_CODE (type) == TYPE_CODE_FLT) + if (TYPE_CODE (type) == TYPE_CODE_FLT) memcpy (valbuf, (char *)regbuf + REGISTER_BYTE (FP4_REGNUM), TYPE_LENGTH (type)); |