summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorfche <fche>2008-03-27 19:31:51 +0000
committerfche <fche>2008-03-27 19:31:51 +0000
commit1e00cfb1b6caa8b8ac343fac8e3d08f2d6a5d785 (patch)
treed388205113589bf73857efc6ef997bc8c39e112b /tapsets.cxx
parentc039c2b968029a84f2554f1c28cd738aa28b730a (diff)
downloadsystemtap-steved-1e00cfb1b6caa8b8ac343fac8e3d08f2d6a5d785.tar.gz
systemtap-steved-1e00cfb1b6caa8b8ac343fac8e3d08f2d6a5d785.tar.xz
systemtap-steved-1e00cfb1b6caa8b8ac343fac8e3d08f2d6a5d785.zip
2008-03-27 Frank Ch. Eigler <fche@elastic.org>
* tapsets.cxx (common_probe_entryfn_prologue): Clear last_stmt.
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index 39aa60ad..079d87e8 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -201,6 +201,7 @@ common_probe_entryfn_prologue (translator_output* o, string statestr,
o->newline() << "goto probe_epilogue;";
o->newline(-1) << "}";
o->newline();
+ o->newline() << "c->last_stmt = 0;";
o->newline() << "c->last_error = 0;";
o->newline() << "c->nesting = 0;";
o->newline() << "c->regs = 0;";