diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | tapsets.cxx | 3 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2008-02-19 David Smith <dsmith@redhat.com> + + PR 5672. + * tapsets.cxx (mark_derived_probe): Call probe_point copy ctor to + shallow-copy incoming base probe location before + recomputing/overwriting it. + 2008-02-18 Frank Ch. Eigler <fche@elastic.org> * NEWS, stapprobes.5.in: Document basic (non-symbolic prototype) diff --git a/tapsets.cxx b/tapsets.cxx index 4ff53e6f..9b31fca1 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -5289,7 +5289,8 @@ mark_derived_probe::mark_derived_probe (systemtap_session &s, const string& p_n, const string& p_s, probe* base, probe_point* loc): - derived_probe (base, loc), sess (s), probe_name (p_n), probe_sig (p_s), + derived_probe (base, new probe_point(*loc) /* .components soon rewritten */), + sess (s), probe_name (p_n), probe_sig (p_s), target_symbol_seen (false) { // create synthetic probe point name; preserve condition |