Skip to content

Commit

Permalink
Merge pull request #54 from therealdreg/add-support-info-idt-symbols-…
Browse files Browse the repository at this point in the history
…32bits

add symbol info to info idt on protected 32
  • Loading branch information
stlintel committed Aug 19, 2023
2 parents 24f988c + 81b4bdb commit ba2747b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bochs/bx_debug/dbg_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit ba2747b

Please sign in to comment.