Commit 5e809a80 authored by bellard's avatar bellard
Browse files

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
parent 791c2261
...@@ -112,7 +112,7 @@ void cpu_x86_dump_state(CPUX86State *env, FILE *f, int flags) ...@@ -112,7 +112,7 @@ void cpu_x86_dump_state(CPUX86State *env, FILE *f, int flags)
eflags = env->eflags; eflags = env->eflags;
fprintf(f, "EAX=%08x EBX=%08x ECX=%08x EDX=%08x\n" fprintf(f, "EAX=%08x EBX=%08x ECX=%08x EDX=%08x\n"
"ESI=%08x EDI=%08x EBP=%08x ESP=%08x\n" "ESI=%08x EDI=%08x EBP=%08x ESP=%08x\n"
"EIP=%08x EFL=%08x [%c%c%c%c%c%c%c] CPL=%d\n", "EIP=%08x EFL=%08x [%c%c%c%c%c%c%c] CPL=%d II=%d\n",
env->regs[R_EAX], env->regs[R_EBX], env->regs[R_ECX], env->regs[R_EDX], env->regs[R_EAX], env->regs[R_EBX], env->regs[R_ECX], env->regs[R_EDX],
env->regs[R_ESI], env->regs[R_EDI], env->regs[R_EBP], env->regs[R_ESP], env->regs[R_ESI], env->regs[R_EDI], env->regs[R_EBP], env->regs[R_ESP],
env->eip, eflags, env->eip, eflags,
...@@ -123,7 +123,8 @@ void cpu_x86_dump_state(CPUX86State *env, FILE *f, int flags) ...@@ -123,7 +123,8 @@ void cpu_x86_dump_state(CPUX86State *env, FILE *f, int flags)
eflags & CC_A ? 'A' : '-', eflags & CC_A ? 'A' : '-',
eflags & CC_P ? 'P' : '-', eflags & CC_P ? 'P' : '-',
eflags & CC_C ? 'C' : '-', eflags & CC_C ? 'C' : '-',
env->hflags & HF_CPL_MASK); env->hflags & HF_CPL_MASK,
(env->hflags >> HF_INHIBIT_IRQ_SHIFT) & 1);
for(i = 0; i < 6; i++) { for(i = 0; i < 6; i++) {
SegmentCache *sc = &env->segs[i]; SegmentCache *sc = &env->segs[i];
fprintf(f, "%s =%04x %08x %08x %08x\n", fprintf(f, "%s =%04x %08x %08x %08x\n",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment