This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
src ./elaborate.cxx ./elaborate.h ./translate. ...
- From: graydon at sourceware dot org
- To: systemtap-cvs at sources dot redhat dot com
- Date: 9 Aug 2005 18:17:24 -0000
- Subject: src ./elaborate.cxx ./elaborate.h ./translate. ...
CVSROOT: /cvs/systemtap
Module name: src
Changes by: graydon@sourceware.org 2005-08-09 18:17:24
Modified files:
. : elaborate.cxx elaborate.h translate.cxx
staptree.cxx ChangeLog
Added files:
testsuite/buildok: eight.stp
Log message:
2005-08-09 Graydon Hoare <graydon@redhat.com>
* elaborate.cxx:
(delete_statement_symresolution_info): New struct.
(symresolution_info::visit_delete_statement): Use it.
(delete_statement_typeresolution_info): New struct.
(typeresolution_info::visit_delete_statement): Use it.
(symresolution_info::find_var): Accept -1 as 'unknown' arity.
* elaborate.h: Update to reflect changes in .cxx.
* translate.cxx (mapvar::del): New method.
(c_unparser::getmap): Check arity >= 1;
(delete_statement_operand_visitor): New struct.
(c_unparser::visit_delete_statement): Use it.
* staptree.cxx (vardecl::set_arity): Accept and ignore -1.
(vardecl::compatible_arity): Likewise.
* testsuite/buildok/eight.stp: New test for 'delete' operator.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/elaborate.cxx.diff?cvsroot=systemtap&r1=1.26&r2=1.27
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/elaborate.h.diff?cvsroot=systemtap&r1=1.11&r2=1.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/translate.cxx.diff?cvsroot=systemtap&r1=1.25&r2=1.26
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/staptree.cxx.diff?cvsroot=systemtap&r1=1.25&r2=1.26
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ChangeLog.diff?cvsroot=systemtap&r1=1.82&r2=1.83
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/buildok/eight.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1