PR gdb/10565
authorDaniel Jacobowitz <drow@false.org>
Fri, 28 Aug 2009 18:50:49 +0000 (18:50 +0000)
committerDaniel Jacobowitz <drow@false.org>
Fri, 28 Aug 2009 18:50:49 +0000 (18:50 +0000)
commit4a76eae5946577891a09412077a5bbd3ea532885
tree072a437dc31f2c364206b6e61bb53ae2a3d844e0
parentd4b96c9a787ed13b0b9367b5fedb96a4746a5c9d
PR gdb/10565

* value.c (value_primitive_field): Do not save value_offset for
bitfields.
(unpack_bits_as_long): Do not read an entire ULONGEST.

testsuite/
PR gdb/10565

* gdb.base/bitfields.c (struct container, container): New.
(main): Initialize it and call break5.
* gdb.base/bitfields.exp (bitfield_at_offset): New test.
gdb/ChangeLog
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/bitfields.c
gdb/testsuite/gdb.base/bitfields.exp
gdb/value.c