This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap 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 translator/10067] New: loc2c isn't masking out bitfields


Currently when reading a bitfield, the code generated by loc2c is returning the
entire integral containing the field.  It should shift and mask the individual
field in the same way that C would.

For example, the manual bit-manipulation in __tcp_skb_urg, etc., should not be
necessary here:
http://sourceware.org/ml/systemtap/2009-q2/msg00184.html

-- 
           Summary: loc2c isn't masking out bitfields
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: jistone at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10067

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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