diff options
author | Daniel Jacobowitz <drow@false.org> | 2002-02-04 22:41:36 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2002-02-04 22:41:36 +0000 |
commit | db2530270bcc7d2c64f1a3ba9cda1d3b65109e2f (patch) | |
tree | 79346b86f9bcc444a77c923e1458b495af7dff50 | |
parent | 206be19c1b7256254407b3630b8ea2a7a087ed4d (diff) | |
download | fsf-binutils-gdb-db2530270bcc7d2c64f1a3ba9cda1d3b65109e2f.zip fsf-binutils-gdb-db2530270bcc7d2c64f1a3ba9cda1d3b65109e2f.tar.gz fsf-binutils-gdb-db2530270bcc7d2c64f1a3ba9cda1d3b65109e2f.tar.bz2 |
2002-02-04 Daniel Jacobowitz <drow@mvista.com>
* regformats/regdef.h (struct reg): Add comment describing the
requirements for offset and size fields.
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/regformats/regdef.h | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fc78e54..04c3d6e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-02-04 Daniel Jacobowitz <drow@mvista.com> + + * regformats/regdef.h (struct reg): Add comment describing the + requirements for offset and size fields. + 2002-02-04 Andreas Schwab <schwab@suse.de> * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX. @@ -7,7 +12,7 @@ * gdbarch.sh (copyright): Update years in generated header. (SMASH_TEXT_ADDRESS): Add rule. - *gdbarch.h, gdbarch.c: Re-generate. + * gdbarch.h, gdbarch.c: Re-generate. * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS. * dbxread.c: Likewise. * dwarfread.c: Likewise. diff --git a/gdb/regformats/regdef.h b/gdb/regformats/regdef.h index d70a488..17174ee 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; |