This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
a segment selector is a index in gdt or offset in bytes from gdt base address?
- From: John Smith <horserivers at gmail dot com>
- To: gdb <gdb at sourceware dot org>
- Date: Wed, 26 Sep 2012 22:05:09 +0800
- Subject: a segment selector is a index in gdt or offset in bytes from gdt base address?
hi,
as a instruction here: ljmp *address , the address gives a
segment selector which is used to address the segment descriptor,
if the selector is x , the descriptor is gdt+x or *(&gdt+x) ?
thanks!