This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
src ./ChangeLog ./stapfuncs.5.in ./stapprobes. ...
- From: dsmith at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 5 Jun 2006 21:49:15 -0000
- Subject: src ./ChangeLog ./stapfuncs.5.in ./stapprobes. ...
CVSROOT: /cvs/systemtap
Module name: src
Changes by: dsmith@sourceware.org 2006-06-05 21:49:15
Modified files:
. : ChangeLog stapfuncs.5.in stapprobes.5.in
tapsets.cxx
tapset : return.stp
Added files:
testsuite/semko: return01.stp return02.stp
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ChangeLog.diff?cvsroot=systemtap&r1=1.414&r2=1.415
http://sourceware.org/cgi-bin/cvsweb.cgi/src/stapfuncs.5.in.diff?cvsroot=systemtap&r1=1.27&r2=1.28
http://sourceware.org/cgi-bin/cvsweb.cgi/src/stapprobes.5.in.diff?cvsroot=systemtap&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/src/tapsets.cxx.diff?cvsroot=systemtap&r1=1.133&r2=1.134
http://sourceware.org/cgi-bin/cvsweb.cgi/src/tapset/return.stp.diff?cvsroot=systemtap&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/semko/return01.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/semko/return02.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1