Target FP: Remove convert_typed_floating from tdep files
[deliverable/binutils-gdb.git] / gdb / rs6000-aix-tdep.c
index 2399677c828b01de4a57199a08380fb9a0265253..8cc7539a8cb1d015b9a0c8f3eaaa79f95da9a0fb 100644 (file)
@@ -36,6 +36,7 @@
 #include "xcoffread.h"
 #include "solib.h"
 #include "solib-aix.h"
+#include "target-float.h"
 #include "xml-utils.h"
 
 /* If the kernel has to deliver a signal, it pushes a sigcontext
@@ -258,8 +259,7 @@ rs6000_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
 
          gdb_assert (len <= 8);
 
-         convert_typed_floating (value_contents (arg), type,
-                                 reg_val, reg_type);
+         target_float_convert (value_contents (arg), type, reg_val, reg_type);
          regcache_cooked_write (regcache, fp_regnum, reg_val);
          ++f_argno;
        }
@@ -463,11 +463,11 @@ rs6000_return_value (struct gdbarch *gdbarch, struct value *function,
       if (readbuf)
        {
          regcache_cooked_read (regcache, tdep->ppc_fp0_regnum + 1, regval);
-         convert_typed_floating (regval, regtype, readbuf, valtype);
+         target_float_convert (regval, regtype, readbuf, valtype);
        }
       if (writebuf)
        {
-         convert_typed_floating (writebuf, valtype, regval, regtype);
+         target_float_convert (writebuf, valtype, regval, regtype);
          regcache_cooked_write (regcache, tdep->ppc_fp0_regnum + 1, regval);
        }
 
This page took 0.025325 seconds and 4 git commands to generate.