[Bug translator/14013] New: Access to user space thread local variables (errno)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug translator/14013] New: Access to user space thread local variables (errno)

glaubitz at physik dot fu-berlin.de
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: [hidden email]
        ReportedBy: [hidden email]
    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("[hidden email]"))) }'
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("[hidden email]"))) }
                                                                               
                       ^

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.
Reply | Threaded
Open this post in threaded view
|

[Bug translator/14013] Access to user space thread local variables (errno)

glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=14013

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fche at redhat dot com

--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> 2012-05-28 19:56:50 UTC ---
See also bug #13429, with a related problem of accessing TLS data via fs/gs
registers.

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug translator/14013] Access to user space thread local variables (errno)

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=14013

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug translator/14013] Access to user space thread local variables (errno)

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=14013

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |25580


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=25580
[Bug 25580] lp tracker
--
You are receiving this mail because:
You are the assignee for the bug.