This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10067] New: loc2c isn't masking out bitfields
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 13 Apr 2009 19:20:58 -0000
- Subject: [Bug translator/10067] New: loc2c isn't masking out bitfields
- Reply-to: sourceware-bugzilla at sourceware dot org
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.