This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/14924] warn on complex $ptr->foo expressions in .return probes
- From: "mcermak at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 08 Nov 2016 09:36:06 +0000
- Subject: [Bug translator/14924] warn on complex $ptr->foo expressions in .return probes
- Auto-submitted: auto-generated
- References: <bug-14924-6586@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=14924
--- Comment #3 from Martin Cermak <mcermak at redhat dot com> ---
Created attachment 9612
--> https://sourceware.org/bugzilla/attachment.cgi?id=9612&action=edit
working version of a patch
Funnily, I'm still a bit lost in this problem. Attached patch demonstrates
where I am now ;-) But it does something:
=======
$ stap -e 'probe process("./a.out").function("set2").return { println($y->x)
}' -c './a.out > /dev/null' -p2 > /dev/null
WARNING: WARN WARN WARN
$ stap -e 'probe process("./a.out").function("set2").return {
println(@entry($y->x)) }' -c './a.out > /dev/null' -p2 > /dev/null
$
=======
--
You are receiving this mail because:
You are the assignee for the bug.