From 9f36b77f43db9975865f01f5bda68a824d24fcfb Mon Sep 17 00:00:00 2001 From: fche Date: Fri, 17 Nov 2006 20:35:46 +0000 Subject: 2006-11-17 Frank Ch. Eigler * 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 * semko/thirtysix.stp, transko/three.stp: New tests. --- testsuite/semko/thirtysix.stp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 testsuite/semko/thirtysix.stp (limited to 'testsuite/semko') 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) +} -- cgit