This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/2140] New: 'delete' operator doesn't work on all variations
- From: "joshua dot i dot stone at intel dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 11 Jan 2006 19:16:21 -0000
- Subject: [Bug translator/2140] New: 'delete' operator doesn't work on all variations
- Reply-to: sourceware-bugzilla at sourceware dot org
see http://sourceware.org/ml/systemtap/2006-q1/msg00051.html
Presently, use of the 'delete' operator does not generate valid code for all
possible variations. It is agreed that 'delete' should work on indices of maps
or on the entire map, whether the map value-type is string, integer, or stat.
It should probably also work as a reset for scalar stat variables as well, since
there's no other way to clear them.
It's debatable whether 'delete' should act as a reset for scalar strings and
integers, but since no-one seems to have a strong opinion against this, we
should probably add it for consistency.
See src/testsuite/buildok/delete.stp for a testcase which currently fails.
--
Summary: 'delete' operator doesn't work on all variations
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: joshua dot i dot stone at intel dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=2140
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.