[Bug translator/2140] New: 'delete' operator doesn't work on all variations
joshua dot i dot stone at intel dot com
sourceware-bugzilla@sourceware.org
Thu Jan 12 00:09:00 GMT 2006
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.
More information about the Systemtap
mailing list