Commit 5e809a80955cda9c4053fac02411edff733b4840
1 parent
791c2261
dump irq inhibit flag as it is a part of the cpu state
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@480 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
3 additions
and
2 deletions
target-i386/helper2.c
... | ... | @@ -112,7 +112,7 @@ void cpu_x86_dump_state(CPUX86State *env, FILE *f, int flags) |
112 | 112 | eflags = env->eflags; |
113 | 113 | fprintf(f, "EAX=%08x EBX=%08x ECX=%08x EDX=%08x\n" |
114 | 114 | "ESI=%08x EDI=%08x EBP=%08x ESP=%08x\n" |
115 | - "EIP=%08x EFL=%08x [%c%c%c%c%c%c%c] CPL=%d\n", | |
115 | + "EIP=%08x EFL=%08x [%c%c%c%c%c%c%c] CPL=%d II=%d\n", | |
116 | 116 | env->regs[R_EAX], env->regs[R_EBX], env->regs[R_ECX], env->regs[R_EDX], |
117 | 117 | env->regs[R_ESI], env->regs[R_EDI], env->regs[R_EBP], env->regs[R_ESP], |
118 | 118 | env->eip, eflags, |
... | ... | @@ -123,7 +123,8 @@ void cpu_x86_dump_state(CPUX86State *env, FILE *f, int flags) |
123 | 123 | eflags & CC_A ? 'A' : '-', |
124 | 124 | eflags & CC_P ? 'P' : '-', |
125 | 125 | eflags & CC_C ? 'C' : '-', |
126 | - env->hflags & HF_CPL_MASK); | |
126 | + env->hflags & HF_CPL_MASK, | |
127 | + (env->hflags >> HF_INHIBIT_IRQ_SHIFT) & 1); | |
127 | 128 | for(i = 0; i < 6; i++) { |
128 | 129 | SegmentCache *sc = &env->segs[i]; |
129 | 130 | fprintf(f, "%s =%04x %08x %08x %08x\n", | ... | ... |