diff options
author | dsmith <dsmith> | 2006-06-05 21:49:14 +0000 |
---|---|---|
committer | dsmith <dsmith> | 2006-06-05 21:49:14 +0000 |
commit | e19fda4e952815ed64646a8183c479824bf58444 (patch) | |
tree | cc106c4c6a5a8bf11a133b62533ff7aad9044be0 /stapfuncs.5.in | |
parent | c641b2813f6fd069dc10cdc66736f09e4531c551 (diff) | |
download | systemtap-steved-e19fda4e952815ed64646a8183c479824bf58444.tar.gz systemtap-steved-e19fda4e952815ed64646a8183c479824bf58444.tar.xz systemtap-steved-e19fda4e952815ed64646a8183c479824bf58444.zip |
2006-06-05 David Smith <dsmith@redhat.com>
* 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.
Diffstat (limited to 'stapfuncs.5.in')
-rw-r--r-- | stapfuncs.5.in | 1 |
1 files changed, 1 insertions, 0 deletions
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 |