From e19fda4e952815ed64646a8183c479824bf58444 Mon Sep 17 00:00:00 2001 From: dsmith Date: Mon, 5 Jun 2006 21:49:14 +0000 Subject: 2006-06-05 David Smith * tapsets.cxx (dwflpp::express_as_string): New function. Extracted from dwflpp::literal_stmt_for_local() so that dwflpp::literal_stmt_for_return() could also call it. (dwflpp::literal_stmt_for_local): Portion extracted to create dwflpp::express_as_string(). (dwflpp::literal_stmt_for_return): New function. Adds support for new symbolic access ("$return") to return value in .return probes. Fixes PR 1132. (target_variable_flavour_calculating_visitor::visit_target_symbol): Calls dwflpp::literal_stmt_for_return() when in a return probe and the variable name is "$return". (dwarf_var_expanding_copy_visitor::visit_target_symbol): Ditto. * stapfuncs.5.in: Noted that the retval() function is deprecated. * stapprobes.5.in: Corrected the name of the return value variable. * tapset/return.stp: Marked the retval() function as deprecated. * testsuite/semko/return01.stp: Added new test. * testsuite/semko/return02.stp: Ditto. --- stapfuncs.5.in | 1 + 1 file changed, 1 insertion(+) (limited to 'stapfuncs.5.in') diff --git a/stapfuncs.5.in b/stapfuncs.5.in index 7a4cfafc..6406cf00 100644 --- a/stapfuncs.5.in +++ b/stapfuncs.5.in @@ -166,6 +166,7 @@ Return 1 if the probe point is a return probe. Deprecated. .TP retval:long () Return the pending return value of the function being return-probed. +Deprecated by the "$return" target variable. .SS ERRNO .TP -- cgit