home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 9 / FreshFishVol9-CD2.bin / bbs / gnu / gdb-4.14-src.lha / gdb-4.14 / gdb / nlm / alpha.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-30  |  1020 b   |  26 lines

  1. /* Register values.  All of these values *MUST* agree with tm.h */
  2. #define RA_REGNUM 26        /* Contains return address value */
  3. #define SP_REGNUM 30        /* Contains address of top of stack */
  4. #define PC_REGNUM 64        /* Contains program counter */
  5. #define FP_REGNUM 65        /* Virtual frame pointer */
  6. #define V0_REGNUM 0        /* Function integer return value */
  7. #define NUM_REGS 66        /* Number of machine registers */
  8. #define REGISTER_BYTES (NUM_REGS * 8) /* Total size of registers array */
  9.  
  10. #define ExceptionPC ExceptionRegs[SF_REG_PC].lo
  11. #define DECR_PC_AFTER_BREAK 0    /* NT's Palcode gets this right! */
  12. #define BREAKPOINT {0x80, 0, 0, 0} /* call_pal bpt */
  13. extern unsigned char breakpoint_insn[];
  14. #define BREAKPOINT_SIZE 4
  15.  
  16. /*#define flush_i_cache() asm("call_pal 0x86")*/
  17.  
  18. /* Temporary defs until DEC gets their netware includes straightened out */
  19.  
  20. #include "altdebug.h"        /* Get StackFrame structure */
  21.  
  22. #define isspace(C) (C == '\n' || C == '\r' || C == ' ' || C == '\t')
  23. int Breakpoint (int __arg);
  24.  
  25. typedef unsigned long ULONG;
  26.