diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2015-07-28 11:01:49 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2015-07-28 11:01:49 -0400 |
commit | 2e0569314c2ee9e5635899d47b0bc0a4b9b08d8d (patch) | |
tree | 6a2b5fda58c71d5f91502bbb768f411245d87d46 /gdb/ChangeLog | |
parent | c6e5c03a2c0dfa224a71056ede035476e511f5fc (diff) | |
download | gdb-2e0569314c2ee9e5635899d47b0bc0a4b9b08d8d.zip gdb-2e0569314c2ee9e5635899d47b0bc0a4b9b08d8d.tar.gz gdb-2e0569314c2ee9e5635899d47b0bc0a4b9b08d8d.tar.bz2 |
Update comment for struct type's length field, introduce type_length_units
This patch tries to clean up a bit the blur around the length field in
struct type, regarding its use with architectures with non-8-bits
addressable memory. It clarifies that the field is expressed in host
bytes, which is what is the closest to the current reality.
It also introduces a new function to get the length of the type in
target addressable memory units.
gdb/ChangeLog:
* gdbtypes.c (type_length_units): New function.
* gdbtypes.h (type_length_units): New declaration.
(struct type) <length>: Update comment.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f0338a2..380ff42 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2015-07-28 Simon Marchi <simon.marchi@ericsson.com> + + * gdbtypes.c (type_length_units): New function. + * gdbtypes.h (type_length_units): New declaration. + (struct type) <length>: Update comment. + 2015-07-27 Simon Marchi <simon.marchi@ericsson.com> * valprint.c (generic_val_print): Factor out complex |