This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug exp/11636] New: setting a bitfield involving an empty DW_OP_bit_piece gives error


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]