Merge pull request #54 from therealdreg/add-support-info-idt-symbols-32bits

add symbol info to info idt on protected 32
This commit is contained in:
Stanislav Shwartsman 2023-08-19 10:39:29 +03:00 committed by GitHub
commit ba2747bea9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3141,6 +3141,11 @@ void bx_dbg_print_descriptor(Bit32u lo, Bit32u hi)
default:
// task, int, trap, or call gate.
dbg_printf("target=0x%04x:0x%08x, DPL=%d", segment, offset, dpl);
const char *Sym = bx_dbg_disasm_symbolic_address(offset, 0);
if (Sym)
dbg_printf(" (%s)", Sym);
break;
}
}