diff options
author | dsmith <dsmith> | 2008-02-19 14:37:17 +0000 |
---|---|---|
committer | dsmith <dsmith> | 2008-02-19 14:37:17 +0000 |
commit | a10fa7f53c4470d81daa46d44546124f7548290a (patch) | |
tree | b2cc693b5df40f94f8b7154d5ac2a7c052b5b52e /tapsets.cxx | |
parent | 1ada6f08ba42f3c1a2f7986f1ad955fd79e06e41 (diff) | |
download | systemtap-steved-a10fa7f53c4470d81daa46d44546124f7548290a.tar.gz systemtap-steved-a10fa7f53c4470d81daa46d44546124f7548290a.tar.xz systemtap-steved-a10fa7f53c4470d81daa46d44546124f7548290a.zip |
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.
Diffstat (limited to 'tapsets.cxx')
-rw-r--r-- | tapsets.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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 |