fche [Tue, 24 May 2005 15:03:16 +0000 (15:03 +0000)]
2005-05-24 Frank Ch. Eigler <fche@redhat.com>
* elaborate.cxx (find_array): Support automagic tapset globals.
* testsuite/semok/nine.stp: Test it ...
* testsuite/semlib/g2.stp: ... using this global array.
* staptree.cxx (stapfile print): List globals.
hunt [Tue, 17 May 2005 06:32:23 +0000 (06:32 +0000)]
2005-05-16 Martin Hunt <hunt@redhat.com>
* transport.c (_stp_cmd_handler): For STP_EXIT, schedule a
work queue to do the exit functions.
(_stp_transport_close): Call work queue for STP_EXIT.
(_stp_transport_send): Call _stp_ctrl_send() like before, except
when in probe_exit(). In that case, keep retrying on send errors
until we succeed.
* transport.h (_stp_transport_write): Change to call
_stp_transport_send() for NETLINK_ONLY.
* Makefile (KDIR): set to /lib/modules/... instead of
/usr/local/src/...
fche [Tue, 15 Mar 2005 22:38:27 +0000 (22:38 +0000)]
2005-03-15 Frank Ch. Eigler <fche@redhat.com>
* TODO: New file. Include some probe-point-provider syntax examples.
* parse.cxx (lexer::scan, parser::parse_literal): Support hex, octal
numbers via strtol.
(parse_probe, parse_probe_point): Modify for dotted syntax.
* staptree.cxx: Ditto.
* parsetest.cxx, semtest.cxx: Print parse/sem results even if
.stp files were given on command line.
* parse.h, staptree.h: Rename probe_point_spec -> probe_point.
* runtest.sh: New test-runner front-end script.
* Makefile.am: Use it for TESTS_ENVIRONMENT.
* testsuite/*: Update probe point syntax. Add a bunch of new tests.
fche [Fri, 4 Mar 2005 20:10:09 +0000 (20:10 +0000)]
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.
fche [Wed, 2 Mar 2005 01:28:50 +0000 (01:28 +0000)]
* some semantic analysis
2005-03-01 Frank Ch. Eigler <fche@redhat.com>
* parse.cxx: Implement left-associativity for several types of
operators. Add some more statement types. Parse functions.
Be able to print tokens. Simplify error generating functions.
Save tokens in all parse tree nodes.
* parse.h: Corresponding changes.
* staptree.cxx: Move tree-printing functions here. Add many
new functions for symbol and type resolution.
* staptree.h: Corresponding changes.
* semtest.cxx: New semantic analysis pass & test driver.
* testsuite/sem*/*: New tests.
* parsetest.cxx: Separated parse test driver.
* testsuite/parse*/*: Adapt tests to parsetest driver.
* Makefile.am: Build semtest. Run its tests.
* Makefile.in: Regenerated.