Convert the unavailable vector to be bit, not byte, based.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 70edc084013f5bd52c30e4b5efc9ee53a5292ea8..f3e12062af30d264effd3dd59f25bac151d272a4 100644 (file)
@@ -1,3 +1,28 @@
+2013-12-17  Andrew Burgess  <aburgess@broadcom.com>
+
+       * dwarf2loc.c (read_pieced_value): Mark bits, not bytes
+       unavailable, use correct bit length.
+       * value.c (struct value): Extend comment on unavailable to
+       indicate that it is bit based.
+       (value_bits_available): New function.
+       (value_bytes_available): Call value_bits_available.
+       (value_entirely_available): Check against the bit length, not byte
+       length.
+       (mark_value_bits_unavailable): New function.
+       (mark_value_bytes_unavailable): Move contents to
+       mark_value_bits_unavailable, call to same.
+       (memcmp_with_bit_offsets): New function.
+       (value_available_contents_bits_eq): New function, takes the
+       functionality from value_available_contents_eq but uses
+       memcmp_with_bit_offsets now, and is bit not byte based.
+       (value_available_contents_eq): Move implementation into
+       value_available_contents_bits_eq, call to same.
+       (value_contents_copy_raw): Work on bits, not bytes.
+       (unpack_value_bits_as_long_1): Check availability in bits, not
+       bytes.
+       * value.h (value_bits_available): Declare new function.
+       (mark_value_bits_unavailable): Declare new function.
+
 2013-12-16  Pierre Muller  <muller@sourceware.org>
 
        Fix compilation error for cygwin native build.
This page took 0.024061 seconds and 4 git commands to generate.