This is the mail archive of the systemtap-cvs@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src ./ChangeLog ./elaborate.cxx ./parse.cxx ./ ...


CVSROOT:	/cvs/systemtap
Module name:	src
Changes by:	graydon@sourceware.org	2005-12-02 23:28:03

Modified files:
	.              : ChangeLog elaborate.cxx parse.cxx staptree.cxx 
	                 translate.cxx 
Added files:
	testsuite/buildok: print_histogram_entry.stp 

Log message:
	2005-12-02  Graydon Hoare  <graydon@redhat.com>
	
	* elaborate.cxx (mutated_var_collector): Forward
	traversal portion of calls to base class.
	(mutated_var_collector::visit_arrayindex): Resolve
	arrayindex-into-histogram expression as pe_long.
	(typeresolution_info::visit_print_format): Traverse
	into histogram if present.
	
	* parse.cxx (parse_symbol): Handle parse ambiguity surrounding
	print(@hist_op(...)[...]).
	
	* staptree.cxx (traversing_visitor::visit_arrayindex): Visit
	base member of arrayindex.
	
	* translate.cxx (c_unparser::histogram_index_check): New method.
	(var::hist): Fix bug.
	(var::buckets): New method.
	(stmt_expr::stmt_expr): Print with newline.
	(c_unparser::load_map_indices): Handle indexing-histogram case.
	(c_tmpcounter::visit_arrayindex): Likewise.
	(c_unparser::visit_arrayindex): Likewise.
	(c_tmpcounter_assignment::visit_arrayindex): Throw error when
	user attempts to write to histogram bucket.
	(c_unparser_assignment::visit_arrayindex): Likewise.
	
	* testsuite/buildok/print_histogram_entry.stp: New test.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ChangeLog.diff?cvsroot=systemtap&r1=1.248&r2=1.249
http://sourceware.org/cgi-bin/cvsweb.cgi/src/elaborate.cxx.diff?cvsroot=systemtap&r1=1.41&r2=1.42
http://sourceware.org/cgi-bin/cvsweb.cgi/src/parse.cxx.diff?cvsroot=systemtap&r1=1.35&r2=1.36
http://sourceware.org/cgi-bin/cvsweb.cgi/src/staptree.cxx.diff?cvsroot=systemtap&r1=1.36&r2=1.37
http://sourceware.org/cgi-bin/cvsweb.cgi/src/translate.cxx.diff?cvsroot=systemtap&r1=1.76&r2=1.77
http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/buildok/print_histogram_entry.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]