Modified Files:

tm-mips64.h tm-mips.h

	Change REGISTER_VIRTUAL_TYPE to handle 64 bit register.
This commit is contained in:
Kung Hsu
1994-02-19 00:50:48 +00:00
parent 83eab3d68d
commit 031b390acb
2 changed files with 8 additions and 1 deletions

View File

@@ -178,9 +178,11 @@ extern int in_sigtramp PARAMS ((CORE_ADDR, char *));
/* Return the GDB type object for the "standard" data type
of data in register N. */
#ifndef REGISTER_VIRTUAL_TYPE
#define REGISTER_VIRTUAL_TYPE(N) \
(((N) >= FP0_REGNUM && (N) < FP0_REGNUM+32) \
? builtin_type_float : builtin_type_int) \
? builtin_type_float : builtin_type_int)
#endif
#if HOST_BYTE_ORDER == BIG_ENDIAN
/* All mips targets store doubles in a register pair with the least