Rev 4337 | Rev 4343 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4337 | Rev 4342 | ||
---|---|---|---|
Line 208... | Line 208... | ||
208 | #endif |
208 | #endif |
209 | 209 | ||
210 | return curidx; |
210 | return curidx; |
211 | } |
211 | } |
212 | 212 | ||
213 | #ifdef amd64 |
213 | #ifdef __64_BITS__ |
214 | # define getip(x) ((x)->rip) |
214 | #define getip(x) ((x)->rip) |
215 | #else |
215 | #else |
216 | # define getip(x) ((x)->eip) |
216 | #define getip(x) ((x)->eip) |
217 | #endif |
217 | #endif |
218 | 218 | ||
Line 274... | Line 274... | ||
274 | { |
274 | { |
275 | unative_t dr6; |
275 | unative_t dr6; |
276 | int i; |
276 | int i; |
277 | 277 | ||
278 | /* Set RF to restart the instruction */ |
278 | /* Set RF to restart the instruction */ |
279 | #ifdef amd64 |
279 | #ifdef __64_BITS__ |
280 | istate->rflags |= RFLAGS_RF; |
280 | istate->rflags |= RFLAGS_RF; |
281 | #else |
281 | #else |
282 | istate->eflags |= EFLAGS_RF; |
282 | istate->eflags |= EFLAGS_RF; |
283 | #endif |
283 | #endif |
284 | 284 |