summaryrefslogtreecommitdiffstats
path: root/testsuite/semko/thirtysix.stp
diff options
context:
space:
mode:
authorfche <fche>2006-11-17 20:35:46 +0000
committerfche <fche>2006-11-17 20:35:46 +0000
commit9f36b77f43db9975865f01f5bda68a824d24fcfb (patch)
tree60261fe605b33632d186073155b592e36a5b9ed1 /testsuite/semko/thirtysix.stp
parent2566011f0b812d7b4e7cbcf8b28c1e8c05de5d94 (diff)
downloadsystemtap-steved-9f36b77f43db9975865f01f5bda68a824d24fcfb.tar.gz
systemtap-steved-9f36b77f43db9975865f01f5bda68a824d24fcfb.tar.xz
systemtap-steved-9f36b77f43db9975865f01f5bda68a824d24fcfb.zip
2006-11-17 Frank Ch. Eigler <fche@redhat.com>
* tapsets.cxx (d_v_e_c_v::visit_target_symbol): Restore lost exception-saving functionality that improves error messages for incorrect $target expressions. (translate_components): Systematize error messages somewhat. * translate.cxx (emit_function, emit_probe): Clarify "array locals" error message. 2006-11-17 Frank Ch. Eigler <fche@redhat.com> * semko/thirtysix.stp, transko/three.stp: New tests.
Diffstat (limited to 'testsuite/semko/thirtysix.stp')
-rwxr-xr-xtestsuite/semko/thirtysix.stp7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/semko/thirtysix.stp b/testsuite/semko/thirtysix.stp
new file mode 100755
index 00000000..77ffc822
--- /dev/null
+++ b/testsuite/semko/thirtysix.stp
@@ -0,0 +1,7 @@
+#! stap -p2
+
+probe kernel.function("kmem_cache_alloc") {
+ print ($cachep->no_such_field)
+ print ($cachep->array->should_have_indexed_it)
+ print ($cachep->next)
+}