summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--ChangeLog4
-rw-r--r--tapsets.cxx1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 832ebaeb..91b09b03 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-03-27 Frank Ch. Eigler <fche@elastic.org>
+
+ * tapsets.cxx (common_probe_entryfn_prologue): Clear last_stmt.
+
2008-03-26 Frank Ch. Eigler <fche@elastic.org>
* translate.cxx (emit_function): Set context last_stmt, in case
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;";