From a7978f80f7621ffba04999b7c1360afa242b01dd Mon Sep 17 00:00:00 2001 From: jistone Date: Wed, 18 Jan 2006 23:17:46 +0000 Subject: 2006-01-18 Josh Stone * tapsets.cxx (profile_derived_probe::emit_probe_entries): Setup c->regs properly in light of the emit_probe_prologue change. --- ChangeLog | 5 +++++ tapsets.cxx | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index c6874e40..5b08d0f7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-01-18 Josh Stone + + * tapsets.cxx (profile_derived_probe::emit_probe_entries): Setup + c->regs properly in light of the emit_probe_prologue change. + 2006-01-18 Josh Stone * translate.cxx (c_unparser::visit_foreach_loop): improved the error diff --git a/tapsets.cxx b/tapsets.cxx index 0ad6d5cf..7d10ddf3 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -3403,6 +3403,7 @@ profile_derived_probe::emit_probe_entries (translator_output* o, unsigned j) o->newline() << "const char* probe_point = " << lex_cast_qstring(*locations[0]) << ";"; emit_probe_prologue (o, "STAP_SESSION_RUNNING"); + o->newline() << "c->regs = regs;"; if (using_rpn) { o->newline() << "(void) self;"; -- cgit