mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
* config/m68k/tm-apollo68b.h: Remove HAVE_68881 define; it is
obsolete. * 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.
This commit is contained in:
parent
eae3f09362
commit
b30601cb28
@ -22,10 +22,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
|
||||
#define BPT_VECTOR 0xb
|
||||
|
||||
/* Assume we have a coprocessor. If we don't, it still shouldn't hurt */
|
||||
|
||||
#define HAVE_68881 1
|
||||
|
||||
#include "m68k/tm-m68k.h"
|
||||
|
||||
#define FRAME_CHAIN_VALID(chain, thisframe) (chain != 0)
|
||||
|
@ -153,9 +153,7 @@ extern CORE_ADDR m68k_saved_pc_after_call PARAMS ((struct frame_info *));
|
||||
|
||||
#define REGISTER_CONVERTIBLE(N) (((unsigned)(N) - FP0_REGNUM) < 8)
|
||||
|
||||
/* Put the declaration out here because if it's in the macros, PCC
|
||||
will complain. */
|
||||
extern const struct ext_format ext_format_68881;
|
||||
#include "floatformat.h"
|
||||
|
||||
/* Convert data from raw format for register REGNUM in buffer FROM
|
||||
to virtual format with type TYPE in buffer TO. */
|
||||
@ -163,7 +161,7 @@ extern const struct ext_format ext_format_68881;
|
||||
#define REGISTER_CONVERT_TO_VIRTUAL(REGNUM,TYPE,FROM,TO) \
|
||||
{ \
|
||||
double val; \
|
||||
ieee_extended_to_double (&ext_format_68881, (FROM), &val); \
|
||||
floatformat_to_double (&floatformat_m68881_ext, (FROM), &val); \
|
||||
store_floating ((TO), TYPE_LENGTH (TYPE), val); \
|
||||
}
|
||||
|
||||
@ -173,7 +171,7 @@ extern const struct ext_format ext_format_68881;
|
||||
#define REGISTER_CONVERT_TO_RAW(TYPE,REGNUM,FROM,TO) \
|
||||
{ \
|
||||
double val = extract_floating ((FROM), TYPE_LENGTH (TYPE)); \
|
||||
double_to_ieee_extended (&ext_format_68881, &val, (TO)); \
|
||||
floatformat_from_double (&floatformat_m68881_ext, &val, (TO)); \
|
||||
}
|
||||
|
||||
/* Return the GDB type object for the "standard" data type
|
||||
|
Loading…
Reference in New Issue
Block a user