summaryrefslogtreecommitdiff
path: root/gdb/regformats
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2002-02-04 22:41:36 +0000
committerDaniel Jacobowitz <dan@debian.org>2002-02-04 22:41:36 +0000
commite6d2d79bfafc08f4848c3300f69d58df93db4fdc (patch)
tree39c2b0be4b6d1711d54cdb5dd43f6cbef1c8b494 /gdb/regformats
parentdbf45e2e3b66e9d386bdef20b0e93e788169cac1 (diff)
downloadgdb-e6d2d79bfafc08f4848c3300f69d58df93db4fdc.tar.gz
2002-02-04 Daniel Jacobowitz <drow@mvista.com>
* regformats/regdef.h (struct reg): Add comment describing the requirements for offset and size fields.
Diffstat (limited to 'gdb/regformats')
-rw-r--r--gdb/regformats/regdef.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/regformats/regdef.h b/gdb/regformats/regdef.h
index d70a4885b24..17174ee3c67 100644
--- a/gdb/regformats/regdef.h
+++ b/gdb/regformats/regdef.h
@@ -23,6 +23,11 @@ struct reg
/* The name of this register - NULL for pad entries. */
const char *name;
+ /* At the moment, both of the following bit counts must be divisible
+ by eight (to match the representation as two hex digits) and divisible
+ by the size of a byte (to match the layout of each register in
+ memory). */
+
/* The offset (in bits) of the value of this register in the buffer. */
int offset;