]> sourceware.org Git - systemtap.git/commit
2006-06-05 David Smith <dsmith@redhat.com>
authordsmith <dsmith>
Mon, 5 Jun 2006 21:49:14 +0000 (21:49 +0000)
committerdsmith <dsmith>
Mon, 5 Jun 2006 21:49:14 +0000 (21:49 +0000)
commite19fda4e952815ed64646a8183c479824bf58444
treecc106c4c6a5a8bf11a133b62533ff7aad9044be0
parentc641b2813f6fd069dc10cdc66736f09e4531c551
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.
ChangeLog
stapfuncs.5.in
stapprobes.5.in
tapset/return.stp
tapsets.cxx
testsuite/semko/return01.stp [new file with mode: 0755]
testsuite/semko/return02.stp [new file with mode: 0755]
This page took 0.025739 seconds and 5 git commands to generate.