public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/14013] New: Access to user space thread local variables (errno)
@ 2012-04-24  9:47 mjw at redhat dot com
  2012-05-28 19:57 ` [Bug translator/14013] " fche at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mjw at redhat dot com @ 2012-04-24  9:47 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-07-15 16:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-24  9:47 [Bug translator/14013] New: Access to user space thread local variables (errno) mjw at redhat dot com
2012-05-28 19:57 ` [Bug translator/14013] " fche at redhat dot com
2020-02-18 14:17 ` fweimer at redhat dot com
2020-02-19 21:10 ` fche at redhat dot com
2020-07-15 16:17 ` fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).