public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug exp/11636] New: setting a bitfield involving an empty DW_OP_bit_piece gives error
@ 2010-05-25 19:48 tromey at redhat dot com
  2010-06-04 19:20 ` [Bug exp/11636] " tromey at redhat dot com
  2010-06-11 15:38 ` tromey at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2010-05-25 19:48 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-11 15:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-25 19:48 [Bug exp/11636] New: setting a bitfield involving an empty DW_OP_bit_piece gives error tromey at redhat dot com
2010-06-04 19:20 ` [Bug exp/11636] " tromey at redhat dot com
2010-06-11 15:38 ` tromey at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).