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/14013] New: Access to user space thread local variables (errno)


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

             Bug #: 14013
           Summary: Access to user space thread local variables (errno)
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap@sourceware.org
        ReportedBy: mjw@redhat.com
    Classification: Unclassified


Trying to access errno in glibc fails:

$ /usr/local/install/systemtap/bin/stap -e 'probe
process("/lib64/libc.so.6").function("*open*").return { printf("%s\n",
errno_str(@var("errno@errno.c"))) }'
semantic error: unrecognized operation in DWARF expression [1] at 9 (0xe0: 0,
0): identifier '@var' at <input>:1:88
        source: probe process("/lib64/libc.so.6").function("*open*").return {
printf("%s\n", errno_str(@var("errno@errno.c"))) }
                                                                               
                       ^

Pass 2: analysis failed.  Try again with another '--vp 01' option.

That is because we don't handle DW_OP_GNU_push_tls_address in the location
expression.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


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