diff options
author | fche <fche> | 2005-03-04 20:10:09 +0000 |
---|---|---|
committer | fche <fche> | 2005-03-04 20:10:09 +0000 |
commit | 0fefb486c5965e371cb52f55548123233da85f72 (patch) | |
tree | d8f847e4fa6972bdd9ff22b180a5f057d52d579e /testsuite/parseok | |
parent | 8af3da4621b58b8bf39f42f65cac2d6111928fd7 (diff) | |
download | systemtap-steved-0fefb486c5965e371cb52f55548123233da85f72.tar.gz systemtap-steved-0fefb486c5965e371cb52f55548123233da85f72.tar.xz systemtap-steved-0fefb486c5965e371cb52f55548123233da85f72.zip |
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.
Diffstat (limited to 'testsuite/parseok')
-rwxr-xr-x | testsuite/parseok/three.stp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/parseok/three.stp b/testsuite/parseok/three.stp new file mode 100755 index 00000000..b2628d4d --- /dev/null +++ b/testsuite/parseok/three.stp @@ -0,0 +1,7 @@ +#! parsetest + +probe kernel:systemcall("foo") +{ + $a = a$a = a$a$ = 0; +} + |