summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfche <fche>2005-12-13 19:28:03 +0000
committerfche <fche>2005-12-13 19:28:03 +0000
commit7b99c7d3b84c70d9e9159d2baa1c00ce7b363314 (patch)
tree13d94cb56f4b97471ff11d1cf20765c6729b6a20
parentb3a26c7b5b7cbd98daa32841ee5f687c035b42ad (diff)
downloadsystemtap-steved-7b99c7d3b84c70d9e9159d2baa1c00ce7b363314.tar.gz
systemtap-steved-7b99c7d3b84c70d9e9159d2baa1c00ce7b363314.tar.xz
systemtap-steved-7b99c7d3b84c70d9e9159d2baa1c00ce7b363314.zip
2005-12-13 Frank Ch. Eigler <fche@redhat.com>
* tapsets.cxx (var_expanding_copy_visitor::visit_target): Transcribe token pointer to synthesized functiondecl.
-rw-r--r--ChangeLog5
-rw-r--r--tapsets.cxx1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8bc21e40..24cbbd9f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-12-13 Frank Ch. Eigler <fche@redhat.com>
+
+ * tapsets.cxx (var_expanding_copy_visitor::visit_target):
+ Transcribe token pointer to synthesized functiondecl.
+
2005-12-12 Josh Stone <joshua.i.stone@intel.com>
* tapset/context.stp
diff --git a/tapsets.cxx b/tapsets.cxx
index bbbee0cf..f8ecf1d7 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -2573,6 +2573,7 @@ var_expanding_copy_visitor::visit_target_symbol (target_symbol *e)
// Synthesize a function.
functiondecl *fdecl = new functiondecl;
+ fdecl->tok = e->tok;
embeddedcode *ec = new embeddedcode;
ec->tok = e->tok;
bool lvalue = is_active_lvalue(e);