This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/12136] New: @cast can't find namespaced types
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: Tue, 19 Oct 2010 23:38:36 +0000
- Subject: [Bug translator/12136] New: @cast can't find namespaced types
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12136
Summary: @cast can't find namespaced types
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap@sources.redhat.com
ReportedBy: jistone@redhat.com
$ stap -e 'probe begin { println( @cast(0, "string")$$ ) }' -p2
semantic error: type definition 'string' not found: identifier '@cast' at
<input>:1:24
source: probe begin { println( @cast(0, "string")$$ ) }
^
Pass 2: analysis failed. Try again with another '--vp 01' option.
In the DWARF, the die for "string" is nested under the die for namespace "std",
so it escapes our usual iterate-globals search. @cast(0, "std::string")
doesn't work either, but perhaps that's the approach we should take. We can
include namespaces in the global iteration, search for "namespace std" in that,
and then do a subsearch for the "string" type.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.