* nlm/gdbserve.c: conditionalize header file inclusion for either
[binutils-gdb.git] / gdb / nlm / alpha.h
1 #include "alpha-patch.h"
2
3 /* Register values. All of these values *MUST* agree with tm.h */
4 #define RA_REGNUM 26 /* Contains return address value */
5 #define SP_REGNUM 30 /* Contains address of top of stack */
6 #define PC_REGNUM 64 /* Contains program counter */
7 #define FP_REGNUM 65 /* Virtual frame pointer */
8 #define V0_REGNUM 0 /* Function integer return value */
9 #define NUM_REGS 66 /* Number of machine registers */
10 #define REGISTER_BYTES (NUM_REGS * 8) /* Total size of registers array */
11
12 #define ExceptionPC ExceptionRegs[SF_REG_PC].lo
13 #define DECR_PC_AFTER_BREAK 0 /* NT's Palcode gets this right! */
14 #define BREAKPOINT {0x80, 0, 0, 0} /* call_pal bpt */
15 unsigned char breakpoint_insn;
16 #define BREAKPOINT_SIZE 4
17
18 /*#define flush_i_cache() asm("call_pal 0x86")*/
19