diff options
author | Stan Cox <scox@redhat.com> | 2009-03-24 16:13:18 -0400 |
---|---|---|
committer | Stan Cox <scox@redhat.com> | 2009-03-24 16:15:50 -0400 |
commit | 8d200822a397e6e286905e4d79d9b9695c835bd4 (patch) | |
tree | 1401629bc940721b200bd49fb8163432e0dd405c /tapsets.cxx | |
parent | 49b50ec6c2b45456d33d3fa145ccd3adfe4c528b (diff) | |
parent | ccc11a14c5117fcee425d53f00f0b871ac727728 (diff) | |
download | systemtap-steved-8d200822a397e6e286905e4d79d9b9695c835bd4.tar.gz systemtap-steved-8d200822a397e6e286905e4d79d9b9695c835bd4.tar.xz systemtap-steved-8d200822a397e6e286905e4d79d9b9695c835bd4.zip |
Remove debugging line.
* dtrace: Remove debugging line.
Diffstat (limited to 'tapsets.cxx')
-rw-r--r-- | tapsets.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tapsets.cxx b/tapsets.cxx index 3a181cb3..c36a1aa0 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -603,7 +603,8 @@ typedef tr1::unordered_map<string,Dwarf_Die> cu_function_cache_t; typedef tr1::unordered_map<string,cu_function_cache_t*> mod_cu_function_cache_t; // module:cu -> function -> die #else struct stringhash { - size_t operator() (const string& s) const { hash<const char*> h; return h(s.c_str()); } + // __gnu_cxx:: is needed because our own hash.h has an ambiguous hash<> decl too. + size_t operator() (const string& s) const { __gnu_cxx::hash<const char*> h; return h(s.c_str()); } }; typedef hash_map<string,Dwarf_Die,stringhash> cu_function_cache_t; @@ -5022,7 +5023,7 @@ void dwarf_cast_expanding_visitor::visit_cast_op (cast_op* e) string code; exp_type type = pe_long; - size_t mod_end = -1; + size_t mod_end = ~0; do { // split the module string by ':' for alternatives |