diff options
-rw-r--r-- | tapsets.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tapsets.cxx b/tapsets.cxx index a027c083..137cd801 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -7404,7 +7404,11 @@ tracepoint_var_expanding_visitor::visit_target_symbol_context (target_symbol* e) expression *texp = require (tsym); // NB: throws nothing ... assert (!tsym->saved_conversion_error); // ... but this is how we know it happened. - pf->raw_components += "=%#x"; + if (args[i].isptr) + pf->raw_components += "=%p"; + else + pf->raw_components += "=%#x"; + pf->args.push_back(texp); } |