This is the mail archive of the gdb@sourceware.cygnus.com 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]

Re: Unifying the x86 FPU register sets


   From: jtc@redback.com (J.T. Conklin)
   Date: 20 Oct 1999 13:03:20 -0700

   If GDB can easily handle 48 bit registers, I'd prefer just having $fip
   and $fop.  info float and/or info all-registers could print them in
   seg:offset form if desired.

I don't think having an 48-bit $fip and $fop is a good idea.  At least
in 32-bit protected mode they really are segment selector and offset
pairs.  The segment selector is used to lookup the linear address of
the segment via the LDT.  This is conceptually very different from the
offset.  This is probably also the reason why Jim had initially chosen
$fcs and $fds for the segment selector of the instruction pointer and
operand (data) pointer.

Mark

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