[Bug translator/11556] @cast() with array indexing on pointers
jistone at redhat dot com
sourceware-bugzilla@sourceware.org
Thu Apr 29 13:51:00 GMT 2010
------- Additional Comments From jistone at redhat dot com 2010-04-28 21:54 -------
(In reply to comment #0)
> So, I'd like @cast to be able to do array indexing on pointers.
Just to be clear, array indexing only fails as the first component.
BAD: @cast(ptr, "task_struct")[42]->tgid
OK: @cast(ptr, "task_struct")->parent[42]->tgid
I expect that tracepoint variables also have this problem, as they go through
the same code path, namely dwflpp::literal_stmt_for_pointer().
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|systemtap at sources dot |jistone at redhat dot com
|redhat dot com |
Status|NEW |ASSIGNED
http://sourceware.org/bugzilla/show_bug.cgi?id=11556
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Systemtap
mailing list