home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 9 / FreshFishVol9-CD2.bin / bbs / gnu / gdb-4.14-src.lha / gdb-4.14 / gdb / config / mips / tm-mips64.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-13  |  1.3 KB  |  40 lines

  1. /* Target machine parameters for MIPS r4000
  2.    Copyright 1994 Free Software Foundation, Inc.
  3.    Contributed by Ian Lance Taylor (ian@cygnus.com)
  4.  
  5. This file is part of GDB.
  6.  
  7. This program is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 2 of the License, or
  10. (at your option) any later version.
  11.  
  12. This program is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with this program; if not, write to the Free Software
  19. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  20.  
  21. #define GDB_TARGET_IS_MIPS64 1
  22.  
  23. /* force LONGEST to be long long in gdb */
  24. #define FORCE_LONG_LONG
  25.  
  26. /* Use eight byte registers.  */
  27. #define MIPS_REGSIZE 8
  28.  
  29. /* define 8 byte register type */
  30. #define REGISTER_VIRTUAL_TYPE(N) \
  31.         (((N) >= FP0_REGNUM && (N) < FP0_REGNUM+32)  \
  32.          ? builtin_type_double : builtin_type_long_long) \
  33.  
  34. /* Load double words in CALL_DUMMY.  */
  35. #define OP_LDFPR 065    /* ldc1 */
  36. #define OP_LDGPR 067    /* ld */
  37.  
  38. /* Get the basic MIPS definitions.  */
  39. #include "tm-mips.h"
  40.