diff options
author | Charley Wang <chwang@redhat.com> | 2009-11-10 12:22:18 -0500 |
---|---|---|
committer | Charley Wang <chwang@redhat.com> | 2009-11-10 12:22:18 -0500 |
commit | f1a0157a5bacc6c7f739a621ee86fec2be9b0080 (patch) | |
tree | 5be55af0801b2553afdf905524f7924219aec88d /tapsets.cxx | |
parent | 7885012ba0a7c1d7c974dd9528afa90aeed916a6 (diff) | |
download | systemtap-steved-f1a0157a5bacc6c7f739a621ee86fec2be9b0080.tar.gz systemtap-steved-f1a0157a5bacc6c7f739a621ee86fec2be9b0080.tar.xz systemtap-steved-f1a0157a5bacc6c7f739a621ee86fec2be9b0080.zip |
PR10877: Give token* to each component instead of each probe_point
Diffstat (limited to 'tapsets.cxx')
-rw-r--r-- | tapsets.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tapsets.cxx b/tapsets.cxx index 2a893c95..21eeabbe 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -2775,7 +2775,7 @@ dwarf_derived_probe::dwarf_derived_probe(const string& funcname, if (has_maxactive && (maxactive_val < 0 || maxactive_val > USHRT_MAX)) throw semantic_error ("maxactive value out of range [0," + lex_cast(USHRT_MAX) + "]", - q.base_loc->tok); + q.base_loc->components.front()->tok); // Expand target variables in the probe body if (!null_die(scope_die)) @@ -2947,7 +2947,7 @@ dwarf_derived_probe::saveargs(dwarf_query& q, Dwarf_Die* scope_die, dwarf_var_ex /* trick from visit_target_symbol_context */ target_symbol *tsym = new target_symbol; - tsym->tok = q.base_loc->tok; + tsym->tok = q.base_loc->components.front()->tok; tsym->base_name = "$"; tsym->base_name += arg_name; |