summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
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 f0859b21..4c15c5ac 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -4699,6 +4699,7 @@ uprobe_derived_probe_group::emit_module_decls (systemtap_session& s)
s.op->newline() << "if (sup->spec_index < 0 ||"
<< "sup->spec_index >= " << probes.size() << ") return;"; // XXX: should not happen
s.op->newline() << "c->regs = regs;";
+ s.op->newline() << "c->ri = GET_PC_URETPROBE_NONE;";
// Make it look like the IP is set as it would in the actual user
// task when calling real probe handler. Reset IP regs on return, so