This is the mail archive of the gdb-patches@sources.redhat.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]
Other format: [Raw text]

extra doco


Daniel,

Can I suggest adding comments to:

{
   /* The name of this register - NULL for pad entries.  */
   const char *name;

   /* The offset (in bits) of the value of this register in the buffer.  */
   int offset;

   /* The size (in bits) of the value of this register, as transmitted.  */
   int size;
};


explaining the constraints that apply - %8 due to two hex digits and 
%byte due to the need to represent each register in memory.

enjoy,
Andrew


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