diff options
author | Kung Hsu <kung@cygnus> | 1994-02-19 00:50:48 +0000 |
---|---|---|
committer | Kung Hsu <kung@cygnus> | 1994-02-19 00:50:48 +0000 |
commit | 031b390acb7140d5b7be6a7420dbc57fdfb2c72c (patch) | |
tree | a02a966b6acfb3ac2d16ba4897524ffbba6a0f56 /gdb/config/mips/tm-mips.h | |
parent | 83eab3d68d30f8c3f6ca6dd124e70863803a14a2 (diff) | |
download | gdb-031b390acb7140d5b7be6a7420dbc57fdfb2c72c.zip gdb-031b390acb7140d5b7be6a7420dbc57fdfb2c72c.tar.gz gdb-031b390acb7140d5b7be6a7420dbc57fdfb2c72c.tar.bz2 |
Modified Files:
tm-mips64.h tm-mips.h
Change REGISTER_VIRTUAL_TYPE to handle 64 bit register.
Diffstat (limited to 'gdb/config/mips/tm-mips.h')
-rw-r--r-- | gdb/config/mips/tm-mips.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h index e0d165f..1c0b790 100644 --- a/gdb/config/mips/tm-mips.h +++ b/gdb/config/mips/tm-mips.h @@ -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 |