This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug exp/11636] New: setting a bitfield involving an empty DW_OP_bit_piece gives error
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 25 May 2010 19:48:37 -0000
- Subject: [Bug exp/11636] New: setting a bitfield involving an empty DW_OP_bit_piece gives error
- Reply-to: sourceware-bugzilla at sourceware dot org
This comes from the existing pieces.exp.
Setting a bit field in a value that has an optimized-out DW_OP_bit_piece
gives strange behavior:
print a.i = 7
warning: bits 24-32 in computed object were optimized out; replacing with zeroes
$8 = <value optimized out>
The ideal in this case would be for GDB to notice that only valid bits
are being touched, so the value is not considered to be optimized out.
--
Summary: setting a bitfield involving an empty DW_OP_bit_piece
gives error
Product: gdb
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: exp
AssignedTo: unassigned at sourceware dot org
ReportedBy: tromey at redhat dot com
CC: gdb-prs at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=11636
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.