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/10602] New: REG_IP() used as lvalue fails on s390x, probably ia64


The ia64 and s390x definitions of the REG_IP macro in runtime/regs.h prevent
REG_IP(x) from being assigned to, but stap-generated code includes several lines
of the form
    REG_IP(regs) = something;
At least on s390x, this yields compile errors in pass 4:
/tmp/stapkks1PD/stap_..._4792.c: In function ?enter_kprobe_probe?:
/tmp/stapkks1PD/stap_..._4792.c:1080: error: lvalue required as left operand of
assignment

I think that this is an artifact of the fix for PR #10458.

-- 
           Summary: REG_IP() used as lvalue fails on s390x, probably ia64
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: jkenisto at us dot ibm dot com


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

------- 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]