diff options
author | Walfred Tedeschi <walfred.tedeschi@intel.com> | 2013-11-19 12:19:30 +0000 |
---|---|---|
committer | Walfred Tedeschi <walfred.tedeschi@intel.com> | 2013-11-20 14:42:49 +0100 |
commit | 57803a3c60f399772907ac306f6eefd9fc83fb15 (patch) | |
tree | 0ef27e0102fbefd1efef6f0443d200cd0b8257c4 /gdb/ChangeLog | |
parent | 87b8eed7fb7040a67d3f7317258795bdd258612b (diff) | |
download | gdb-57803a3c60f399772907ac306f6eefd9fc83fb15.zip gdb-57803a3c60f399772907ac306f6eefd9fc83fb15.tar.gz gdb-57803a3c60f399772907ac306f6eefd9fc83fb15.tar.bz2 |
Fix conditions in creating a bitfield.
Bitfields are represented by intervals [start, begin]. It means that for an
interval comprised by only one bit start and end will be equal.
The present condition does not always hold. On the other hand in target-description.c
(tdesc_gdb_type) bitfield is created when "f->type" is null. The routine
maint_print_maint_print_c_tdesc_cmd is modified to follow the same strategy.
2013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
* target-descriptions.c (maint_print_maint_print_c_tdesc_cmd):
Modified logic of creating a bitfield to be in sync with
tdesc_gdb_type.
testsuite/
* gdb.xml/maint_print_struct.xml (bitfield): Added bitfield having
start and end equal 0.
Change-Id: I8c62db049995f0c0c30606d9696b86afe237cbb9
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 66f2087..d65445e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com> + + * target-descriptions.c (maint_print_maint_print_c_tdesc_cmd): + Modified logic of creating a bitfield to be in sync with + tdesc_gdb_type. + 2013-11-20 Will Newton <will.newton@linaro.org> * arm-tdep.c (arm_get_next_pc): Remove "Infinite loop detected" |