This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]