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 ./translate.cxx testsuite/buil ...


CVSROOT:	/cvs/systemtap
Module name:	src
Changes by:	jistone@sourceware.org	2006-01-05 21:59:22

Modified files:
	.              : ChangeLog translate.cxx 
	testsuite/buildok: pmap_foreach.stp 

Log message:
	2006-01-05  Josh Stone  <joshua.i.stone@intel.com>
	
	PR 2056
	* translate.cxx (var::~var, var::hist, var::buckets): make these
	methods virtual, so we can use polymorphism.
	(mapvar::hist, mapvar::buckets):  Override the corresponding var
	methods to handle pmaps correctly.
	(c_unparser::visit_arrayindex, c_unparser::visit_print_format): Make
	use of the new polymorphic behavior of var & mapvar when dealing with
	histogram data.
	* testsuite/buildok/pmap_foreach.stp: Add tests to check histogram
	accesses with for/foreach.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ChangeLog.diff?cvsroot=systemtap&r1=1.282&r2=1.283
http://sourceware.org/cgi-bin/cvsweb.cgi/src/translate.cxx.diff?cvsroot=systemtap&r1=1.87&r2=1.88
http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/buildok/pmap_foreach.stp.diff?cvsroot=systemtap&r1=1.3&r2=1.4


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