summaryrefslogtreecommitdiff
path: root/gdb/rs6000-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/rs6000-tdep.c
parentd4b6ee6788177878bbf934fdbccbe124e09a46dd (diff)
downloadbinutils-gdb-f19082897468918a09a26b5e962e09f97052abe7.tar.gz
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/rs6000-tdep.c')
-rw-r--r--gdb/rs6000-tdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 08394dee1d5..8cba11c19e7 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -1892,8 +1892,8 @@ rs6000_register_convert_to_virtual (int n, struct type *type,
{
if (TYPE_LENGTH (type) != REGISTER_RAW_SIZE (n))
{
- double val = extract_floating (from, REGISTER_RAW_SIZE (n));
- store_floating (to, TYPE_LENGTH (type), val);
+ double val = deprecated_extract_floating (from, REGISTER_RAW_SIZE (n));
+ deprecated_store_floating (to, TYPE_LENGTH (type), val);
}
else
memcpy (to, from, REGISTER_RAW_SIZE (n));
@@ -1908,8 +1908,8 @@ rs6000_register_convert_to_raw (struct type *type, int n,
{
if (TYPE_LENGTH (type) != REGISTER_RAW_SIZE (n))
{
- double val = extract_floating (from, TYPE_LENGTH (type));
- store_floating (to, REGISTER_RAW_SIZE (n), val);
+ double val = deprecated_extract_floating (from, TYPE_LENGTH (type));
+ deprecated_store_floating (to, REGISTER_RAW_SIZE (n), val);
}
else
memcpy (to, from, REGISTER_RAW_SIZE (n));