public inbox for systemtap-cvs@sourceware.org
help / color / mirror / Atom feed
* src ./ChangeLog ./parse.cxx ./parse.h ./staptr ...
@ 2005-03-04 20:10 fche
0 siblings, 0 replies; 2+ messages in thread
From: fche @ 2005-03-04 20:10 UTC (permalink / raw)
To: systemtap-cvs
CVSROOT: /cvs/systemtap
Module name: src
Changes by: fche@sourceware.org 2005-03-04 20:10:14
Modified files:
. : ChangeLog parse.cxx parse.h staptree.cxx
staptree.h
Added files:
testsuite/parseko: four.stp
testsuite/parseok: three.stp
testsuite/semok: six.stp
Log message:
2005-03-04 Frank Ch. Eigler <fche@redhat.com>
* parse.cxx (scan): Support '$' characters in identifiers.
(parse_symbol): Support thread-> / process-> shorthand.
* staptree.cxx (symresolution_info::find): Split up into
find_scalar, find_array, find_function.
(resolve_symbols): Call the above for symbol/arrayindex/functioncall.
(find_scalar): Add stub support for synthetic builtin variables.
* staptree.h: Corresponding changes.
* testsuite/*: Some new tests.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ChangeLog.diff?cvsroot=systemtap&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/parse.cxx.diff?cvsroot=systemtap&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/parse.h.diff?cvsroot=systemtap&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/staptree.cxx.diff?cvsroot=systemtap&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/staptree.h.diff?cvsroot=systemtap&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/parseko/four.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/parseok/three.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/semok/six.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* src ./ChangeLog ./parse.cxx ./parse.h ./staptr ...
@ 2005-10-20 22:11 graydon
0 siblings, 0 replies; 2+ messages in thread
From: graydon @ 2005-10-20 22:11 UTC (permalink / raw)
To: systemtap-cvs
CVSROOT: /cvs/systemtap
Module name: src
Changes by: graydon@sourceware.org 2005-10-20 22:11:33
Modified files:
. : ChangeLog parse.cxx parse.h staptree.h
elaborate.cxx elaborate.h translate.cxx
Added files:
testsuite/semko: thirtyone.stp thirty.stp twentyeight.stp
twentyfive.stp twentyfour.stp twentynine.stp
twentyseven.stp twentysix.stp
Log message:
2005-10-20 Graydon Hoare <graydon@redhat.com>
PR 917 (incomplete)
* staptree.h (struct statistic_decl): New struct.
(stapfile::stat_decls): New member.
* parse.h, parse.cxx
(parser::expect_known): Fix typo.
(parser::expect_number): New method.
(parser::parse_global): Parse global statistic_decls.
* elaborate.h (systemtap_session::stat_decls): New member.
* elaborate.cxx (semantic_pass_symbols): Copy per-file stat_decls
to session-wide.
(typeresolution_info::visit_assignment): Detect some semantic stats
errors in type resolution pass.
* translate.cxx (var::sd): New private member.
(var::var): Initialize it.
(var::sdecl): New accessor.
(var::init): Handle stats values.
(mapvar::mapvar): Pass through statistic_decl to var ctor.
(mapvar::get): Test for long explicitly.
(mapvar::set): Likewise.
(mapvar::init): Handle stats values.
(c_unparser::emit_common_header): Remove typedef of stats_t,
include stat.c when necessary.
(mapvar::key_typename): Typo.
(c_unparser::emit_map_type_instantiations): Thinko: value_typename not key_typename.
(c_unparser::c_typename): Implementation typename is "Stat", not "stats_t".
(c_unparser::c_assign): Fix bad error message.
(c_unparser_assignment::c_assignop): Handle operator <<<.
(c_unparser::getvar): Feed session statistic_decl into var.
(c_unparser::getmap): Likewise.
(c_unparser::visit_assignment): Handle operator <<<.
(c_tmpcounter_assignment::visit_symbol): Derive type from rvalue when present.
(c_unparser_assignment::visit_symbol)
(c_tmpcounter_assignment::visit_arrayindex)
(c_unparser_assignment::load_map_indices): Likewise.
(c_unparser::visit_arrayindex): Likewise, and Prohibit statistic rvalues.
(c_unparser_assignment::visit_arrayindex): Handle operator <<<.
* testsuite/semko/twentyfour.stp:
* testsuite/semko/twentyfive.stp:
* testsuite/semko/twentysix.stp:
* testsuite/semko/twentyseven.stp:
* testsuite/semko/twentyeight.stp:
* testsuite/semko/twentynine.stp:
* testsuite/semko/thirty.stp:
* testsuite/semko/thirtyone.stp: New tests for prohibited statistic contexts.
* testsuite/buildok/twentytwo.stp: New test for legal statistic contexts.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ChangeLog.diff?cvsroot=systemtap&r1=1.204&r2=1.205
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/parse.cxx.diff?cvsroot=systemtap&r1=1.28&r2=1.29
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/parse.h.diff?cvsroot=systemtap&r1=1.14&r2=1.15
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/staptree.h.diff?cvsroot=systemtap&r1=1.26&r2=1.27
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/elaborate.cxx.diff?cvsroot=systemtap&r1=1.37&r2=1.38
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/elaborate.h.diff?cvsroot=systemtap&r1=1.20&r2=1.21
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/translate.cxx.diff?cvsroot=systemtap&r1=1.60&r2=1.61
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/semko/thirtyone.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/semko/thirty.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/semko/twentyeight.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/semko/twentyfive.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/semko/twentyfour.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/semko/twentynine.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/semko/twentyseven.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/semko/twentysix.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-10-20 22:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-04 20:10 src ./ChangeLog ./parse.cxx ./parse.h ./staptr fche
2005-10-20 22:11 graydon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).