This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
extra doco
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>,gdb-patches at sources dot redhat dot com
- Date: Mon, 04 Feb 2002 00:58:04 -0500
- Subject: 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