aboutsummaryrefslogtreecommitdiff
path: root/gdb/sh-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-04-09 15:08:27 +0000
committerAndrew Cagney <cagney@redhat.com>2003-04-09 15:08:27 +0000
commitf19082897468918a09a26b5e962e09f97052abe7 (patch)
tree44b7c85e1524044e5b8c9f04433913f5be6434cf /gdb/sh-tdep.c
parentd4b6ee6788177878bbf934fdbccbe124e09a46dd (diff)
downloadfsf-binutils-gdb-f19082897468918a09a26b5e962e09f97052abe7.zip
fsf-binutils-gdb-f19082897468918a09a26b5e962e09f97052abe7.tar.gz
fsf-binutils-gdb-f19082897468918a09a26b5e962e09f97052abe7.tar.bz2
2003-04-09 Andrew Cagney <cagney@redhat.com>
* doublest.h: Update copyright. (deprecated_store_floating, deprecated_extract_floating): Rename store_floating and extract_floating. Update comments. * doublest.c: Update copyright. (extract_floating_by_length): Replace extract_floating. (store_floating_by_length): Replace store_floating. (deprecated_extract_floating): New function. (deprecated_store_floating): New function. (extract_typed_floating): Call extract_floating_by_length. (store_typed_floating): Call store_floating_by_length. * x86-64-tdep.c (x86_64_store_return_value): Update. * sh-tdep.c (sh3e_sh4_extract_return_value): Update. (sh64_extract_return_value): Update. (sh_sh4_register_convert_to_virtual): Update. (sh_sh64_register_convert_to_virtual): Update. (sh_sh4_register_convert_to_raw): Update. (sh_sh64_register_convert_to_raw): Update. * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update. (rs6000_register_convert_to_raw): Update. * ia64-tdep.c (ia64_register_convert_to_virtual): Update. (ia64_register_convert_to_raw): Update. * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update. (REGISTER_CONVERT_TO_VIRTUAL): Update. * arm-linux-tdep.c (arm_linux_push_arguments): Update. * alpha-tdep.c (alpha_register_convert_to_virtual): Update. (alpha_register_convert_to_raw): Update.
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r--gdb/sh-tdep.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c
index d30586c..b61eb23 100644
--- a/gdb/sh-tdep.c
+++ b/gdb/sh-tdep.c
@@ -2414,7 +2414,7 @@ sh3e_sh4_extract_return_value (struct type *type, char *regbuf, char *valbuf)
floatformat_to_doublest (&floatformat_ieee_double_big,
(char *) regbuf + REGISTER_BYTE (return_register),
&val);
- store_floating (valbuf, len, val);
+ deprecated_store_floating (valbuf, len, val);
}
else if (len <= 4)
{
@@ -2467,7 +2467,7 @@ sh64_extract_return_value (struct type *type, char *regbuf, char *valbuf)
else
floatformat_to_doublest (&floatformat_ieee_double_big,
(char *) regbuf + offset, &val);
- store_floating (valbuf, len, val);
+ deprecated_store_floating (valbuf, len, val);
}
}
else
@@ -3403,7 +3403,7 @@ sh_sh4_register_convert_to_virtual (int regnum, struct type *type,
{
DOUBLEST val;
floatformat_to_doublest (&floatformat_ieee_double_littlebyte_bigword, from, &val);
- store_floating (to, TYPE_LENGTH (type), val);
+ deprecated_store_floating (to, TYPE_LENGTH (type), val);
}
else
error ("sh_register_convert_to_virtual called with non DR register number");
@@ -3429,7 +3429,7 @@ sh_sh64_register_convert_to_virtual (int regnum, struct type *type,
{
DOUBLEST val;
floatformat_to_doublest (&floatformat_ieee_double_littlebyte_bigword, from, &val);
- store_floating(to, TYPE_LENGTH(type), val);
+ deprecated_store_floating(to, TYPE_LENGTH(type), val);
}
else
error("sh_register_convert_to_virtual called with non DR register number");
@@ -3444,7 +3444,7 @@ sh_sh4_register_convert_to_raw (struct type *type, int regnum,
if (regnum >= tdep->DR0_REGNUM
&& regnum <= tdep->DR_LAST_REGNUM)
{
- DOUBLEST val = extract_floating (from, TYPE_LENGTH(type));
+ DOUBLEST val = deprecated_extract_floating (from, TYPE_LENGTH(type));
floatformat_from_doublest (&floatformat_ieee_double_littlebyte_bigword, &val, to);
}
else
@@ -3469,7 +3469,7 @@ sh_sh64_register_convert_to_raw (struct type *type, int regnum,
|| (regnum >= tdep->DR0_C_REGNUM
&& regnum <= tdep->DR_LAST_C_REGNUM))
{
- DOUBLEST val = extract_floating (from, TYPE_LENGTH(type));
+ DOUBLEST val = deprecated_extract_floating (from, TYPE_LENGTH(type));
floatformat_from_doublest (&floatformat_ieee_double_littlebyte_bigword, &val, to);
}
else