This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/11346] @defined() with '--skip-badvars' doesn't work correctly
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 3 Mar 2010 22:45:09 -0000
- Subject: [Bug translator/11346] @defined() with '--skip-badvars' doesn't work correctly
- References: <20100303205742.11346.dsmith@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From fche at redhat dot com 2010-03-03 22:45 -------
> Well, it's "correct" in that $foo is "defined" to 0 when it doesn't exist -- but
> I agree this fails to DWIM. I think we can just bypass the badvar replacement
> while inside a @defined traversal.
tapsets.cxx:2611 ish intends to set the policy w.r.t. conflicting --skip-badvars
vs @defined(). We might just flip it around.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11346
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.