]> sourceware.org Git - systemtap.git/commit
PR17741: add a try_assign macro
authorAbegail Jakop <ajakop@redhat.com>
Tue, 19 Jan 2016 20:35:09 +0000 (15:35 -0500)
committerAbegail Jakop <ajakop@redhat.com>
Tue, 19 Jan 2016 22:18:23 +0000 (17:18 -0500)
commit8b342140777881a3d9046643200b6ce6eec02068
tree2e88274e1b644a829fa62fc86d795d390b9fae5e
parent5436c8ea00bc3236046ba1921d2fddd0e75156a2
PR17741: add a try_assign macro

add a try_assign macro that stores in a provided variable the value
from evaluating the body of the try or catch statement.

tapset/try_assign.stpm:    define a try_assign macro
testsuite/../try_assign.*: basic testcase checking that the try_assign
macro's functionality works as expected.
tapset/try_assign.stpm [new file with mode: 0644]
testsuite/systemtap.base/try_assign.exp [new file with mode: 0644]
testsuite/systemtap.base/try_assign.stp [new file with mode: 0644]
This page took 0.031151 seconds and 5 git commands to generate.