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: i386_register_raw_size[]



>    The registers marked with "<<<<<" are the ones I want to discuss.
>    These are control, status, and tag words, and the FP instruction
>    address and operands.  The ``raw'' part of the name and the comment
>    imply that these should have the same size as they are saved by the
>    low-level debug support functions on the target machine.  I interpret
>    that as the layout in memory of the data saved by FSAVE and similar
>    instructions.
> 
> I think ``raw'' implies that the data isn't yet interpreted by GDB
> yet, i.e. it is in the target byte order.

Yes, that's right --- my comment was misleading.  I've changed it:

/* i386_register_raw_size[i] is the number of bytes of storage in
   GDB's register array occupied by register i.  */

(Everything else Mark says corresponds with my understanding, too.)

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