2 # Parent 4a8ebab4db51ea6b64c53788092f9565f0d4236a
4 diff -r 4a8ebab4db51 target-i386/helper.c
5 --- a/target-i386/helper.c Fri Aug 27 03:15:33 2010 -0400
6 +++ b/target-i386/helper.c Fri Aug 27 03:25:52 2010 -0400
8 target_phys_addr_t paddr;
11 + addr += env->segs[R_DS].base;
13 if (env->cr[4] & CR4_PAE_MASK) {
14 target_ulong pdpe_addr;
15 diff -r 4a8ebab4db51 target-i386/translate.c
16 --- a/target-i386/translate.c Fri Aug 27 03:15:33 2010 -0400
17 +++ b/target-i386/translate.c Fri Aug 27 03:25:52 2010 -0400
20 if (unlikely(!QTAILQ_EMPTY(&env->breakpoints))) {
21 QTAILQ_FOREACH(bp, &env->breakpoints, entry) {
22 - if (bp->pc == pc_ptr &&
23 + if (bp->pc == pc_ptr - dc->cs_base &&
24 !((bp->flags & BP_CPU) && (tb->flags & HF_RF_MASK))) {
25 gen_debug(dc, pc_ptr - dc->cs_base);