diff options
| author | fche <fche> | 2008-03-27 19:31:51 +0000 |
|---|---|---|
| committer | fche <fche> | 2008-03-27 19:31:51 +0000 |
| commit | 1e00cfb1b6caa8b8ac343fac8e3d08f2d6a5d785 (patch) | |
| tree | d388205113589bf73857efc6ef997bc8c39e112b | |
| parent | c039c2b968029a84f2554f1c28cd738aa28b730a (diff) | |
| download | systemtap-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-- | ChangeLog | 4 | ||||
| -rw-r--r-- | tapsets.cxx | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -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;"; |
