diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-02-28 06:06:05 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-02-28 06:06:05 +0000 |
commit | 4879254531c753527f4ae3bcf7e625fa71ca3902 (patch) | |
tree | 36769293d673d3ce5fd18acbc4b568911d05cb61 /gdb/remote-nindy.c | |
parent | b30601cb28a62dee5579e2cffe2b2d02bd1e0a9d (diff) | |
download | gdb-4879254531c753527f4ae3bcf7e625fa71ca3902.zip gdb-4879254531c753527f4ae3bcf7e625fa71ca3902.tar.gz gdb-4879254531c753527f4ae3bcf7e625fa71ca3902.tar.bz2 |
* i387-tdep.c, i386-tdep.c i386v-nat.c, i386aix-nat.c,
i386m3-nat.c, config/m68k/tm-m68k.h, i960-tdep.c
config/i960/tm-i960.h, remote-nindy.c, config/m88k/tm-m88k.h,
m88k-tdep.c: Use floatformat.h instead of ieee-float.h.
* sparc-tdep.c: Remove now-obsolete ieee-float.h stuff
* findvar.c: Update comment regarding ieee-float.h.
Diffstat (limited to 'gdb/remote-nindy.c')
-rw-r--r-- | gdb/remote-nindy.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gdb/remote-nindy.c b/gdb/remote-nindy.c index f9cac2b..8c9c624 100644 --- a/gdb/remote-nindy.c +++ b/gdb/remote-nindy.c @@ -107,7 +107,7 @@ NINDY ROM monitor at the other end of the line. #include "target.h" #include "gdbcore.h" #include "command.h" -#include "ieee-float.h" +#include "floatformat.h" #include "wait.h" #include <sys/file.h> @@ -129,7 +129,6 @@ extern void generic_mourn_inferior (); extern struct target_ops nindy_ops; extern GDB_FILE *instream; -extern struct ext_format ext_format_i960; /* i960-tdep.c */ extern char ninStopWhy (); extern int ninMemGet (); @@ -442,7 +441,7 @@ nindy_fetch_registers(regno) &nindy_regs.fp_as_double[8 * (regnum - FP0_REGNUM)], &inv); /* dub now in host byte order */ - double_to_ieee_extended (&ext_format_i960, &dub, + floatformat_from_double (&floatformat_i960_ext, &dub, ®isters[REGISTER_BYTE (regnum)]); } @@ -471,8 +470,8 @@ nindy_store_registers(regno) memcpy (nindy_regs.tcw, ®isters[REGISTER_BYTE (TCW_REGNUM)], 1*4); for (regnum = FP0_REGNUM; regnum < FP0_REGNUM + 4; regnum++) { - ieee_extended_to_double (&ext_format_i960, - ®isters[REGISTER_BYTE (regnum)], &dub); + floatformat_to_double (&floatformat_i960_ext, + ®isters[REGISTER_BYTE (regnum)], &dub); store_floating (&nindy_regs.fp_as_double[8 * (regnum - FP0_REGNUM)], REGISTER_VIRTUAL_SIZE (regnum), dub); |