public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/11911] New: -L never shows aggregates (etc)
@ 2010-08-13  1:35 roland at gnu dot org
  2010-08-20  7:29 ` [Bug translator/11911] " jistone at redhat dot com
  2010-08-20  7:30 ` jistone at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: roland at gnu dot org @ 2010-08-13  1:35 UTC (permalink / raw)
  To: systemtap

The -L code works by trying to fully translate a fetch from $foo for each foo in
scope.  That fails if foo is an aggregate, or if foo is partially available, or
an implicit_pointer, etc.  However, $foo[0] or $foo->bar may very well be
accessible at that probe location.

I think -L should suppress only the identifiers in scope that have no
DW_AT_location or DW_AT_const_value attribute at all.  It should not try to do
any loc2c translation on the attribute.

-- 
           Summary: -L never shows aggregates (etc)
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: minor
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: roland at gnu dot org


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug translator/11911] -L never shows aggregates (etc)
  2010-08-13  1:35 [Bug translator/11911] New: -L never shows aggregates (etc) roland at gnu dot org
@ 2010-08-20  7:29 ` jistone at redhat dot com
  2010-08-20  7:30 ` jistone at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jistone at redhat dot com @ 2010-08-20  7:29 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From jistone at redhat dot com  2010-08-20 07:29 -------
Fixed in commit 8c67c33.  I had to also check that the location list has a match
for the probe address, and then it seems to work well.

-- 


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug translator/11911] -L never shows aggregates (etc)
  2010-08-13  1:35 [Bug translator/11911] New: -L never shows aggregates (etc) roland at gnu dot org
  2010-08-20  7:29 ` [Bug translator/11911] " jistone at redhat dot com
@ 2010-08-20  7:30 ` jistone at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jistone at redhat dot com @ 2010-08-20  7:30 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From jistone at redhat dot com  2010-08-20 07:30 -------
(actually closing it this time...)

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

end of thread, other threads:[~2010-08-20  7:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-13  1:35 [Bug translator/11911] New: -L never shows aggregates (etc) roland at gnu dot org
2010-08-20  7:29 ` [Bug translator/11911] " jistone at redhat dot com
2010-08-20  7:30 ` jistone 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).