This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug exp/10565] [Regression] Gdb mishandled bitfield debug info
- From: "cvs-commit at gcc dot gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 28 Aug 2009 18:51:04 -0000
- Subject: [Bug exp/10565] [Regression] Gdb mishandled bitfield debug info
- References: <20090826211012.10565.hjl.tools@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-08-28 18:51 -------
Subject: Bug 10565
CVSROOT: /cvs/src
Module name: src
Changes by: drow@sourceware.org 2009-08-28 18:50:49
Modified files:
gdb : ChangeLog value.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.base: bitfields.c bitfields.exp
Log message:
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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.10833&r2=1.10834
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/value.c.diff?cvsroot=src&r1=1.94&r2=1.95
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1946&r2=1.1947
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/bitfields.c.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/bitfields.exp.diff?cvsroot=src&r1=1.8&r2=1.9
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10565
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.