diff options
author | Dave Brolley <brolley@redhat.com> | 2008-09-12 15:06:11 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2008-09-12 15:06:11 -0400 |
commit | 697898567836ed64a8d91258348e91d49a6a2f53 (patch) | |
tree | 8dea311613ceaa21e65f0b34826613671da033d6 /tapsets.cxx | |
parent | d52261ec3e39326ebc7c571487f0a443903072af (diff) | |
parent | 82e5a20c33f5c0746720e83a551bf499661475d1 (diff) | |
download | systemtap-steved-697898567836ed64a8d91258348e91d49a6a2f53.tar.gz systemtap-steved-697898567836ed64a8d91258348e91d49a6a2f53.tar.xz systemtap-steved-697898567836ed64a8d91258348e91d49a6a2f53.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
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 4d47dca1..85505084 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -4747,7 +4747,7 @@ void dwarf_derived_probe::emit_probe_local_init(translator_output * o) { // emit bsp cache setup - o->newline() << "bspcache(c->unwaddr, c->regs, c->probe_point);"; + o->newline() << "bspcache(c->unwaddr, c->regs);"; } // ------------------------------------------------------------------------ @@ -5927,7 +5927,7 @@ void utrace_var_expanding_copy_visitor::visit_target_symbol_arg (target_symbol* e) { string argnum_s = e->base_name.substr(4,e->base_name.length()-4); - int argnum = atoi (argnum_s.c_str()); + int argnum = lex_cast<int>(argnum_s); if (flags != UDPF_SYSCALL) throw semantic_error ("only \"process(PATH_OR_PID).syscall\" support $argN.", e->tok); |