OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [nlm/] [i386.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
/* Register values.  All of these values *MUST* agree with tm.h */
2
#define SP_REGNUM 4             /* Contains address of top of stack */
3
#define PC_REGNUM 8             /* Contains program counter */
4
#define FP_REGNUM 5             /* Virtual frame pointer */
5
#define NUM_REGS 16             /* Number of machine registers */
6
#define REGISTER_BYTES (NUM_REGS * 4) /* Total size of registers array */
7
 
8
#define ExceptionPC ExceptionEIP
9
#define DECR_PC_AFTER_BREAK 1   /* int 3 leaves PC pointing after insn */
10
#define BREAKPOINT {0xcc}
11
#define BREAKPOINT_SIZE (sizeof breakpoint_insn)
12
 
13
#define StackFrame T_TSS_StackFrame

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.