/trunk/kernel/arch/amd64/src/debugger.c |
---|
210,7 → 210,7 |
return curidx; |
} |
#ifdef amd64 |
#ifdef __64_BITS__ |
# define getip(x) ((x)->rip) |
#else |
# define getip(x) ((x)->eip) |
276,7 → 276,7 |
int i; |
/* Set RF to restart the instruction */ |
#ifdef amd64 |
#ifdef __64_BITS__ |
istate->rflags |= RFLAGS_RF; |
#else |
istate->eflags |= EFLAGS_RF; |