diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-07-10 22:23:12 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-07-10 22:23:12 -0400 |
commit | 73f289b23ed0db47b7acb4ca75094cee4f22927f (patch) | |
tree | b7acce889f77d25c5affb3f77bcc5be1d01371de | |
parent | d2d885a0f315de0bb2229e83ea282f0c036a83b6 (diff) | |
download | systemtap-steved-73f289b23ed0db47b7acb4ca75094cee4f22927f.tar.gz systemtap-steved-73f289b23ed0db47b7acb4ca75094cee4f22927f.tar.xz systemtap-steved-73f289b23ed0db47b7acb4ca75094cee4f22927f.zip |
PR6703: gcc4.1 build compatibility
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | tapsets.cxx | 3 |
2 files changed, 7 insertions, 2 deletions
@@ -1,5 +1,11 @@ 2008-07-10 Frank Ch. Eigler <fche@elastic.org> + PR 6703. + * tapsets.cxx (mark_dwarf_redundancies): Tweak hashtable/iterator + syntax for gcc 4.1 compatibility. + +2008-07-10 Frank Ch. Eigler <fche@elastic.org> + PR 6736. * main.cxx (main,usage): Support new "-d MODULE" option to populate comp-unwindsyms module list. diff --git a/tapsets.cxx b/tapsets.cxx index 7714715e..c15eb5ca 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -5044,8 +5044,7 @@ symbol_table::mark_dwarf_redundancies(dwflpp *dw) // vector of Dwarf_Dies, one per function. string module_prefix = string(mod_info->name) + ":"; - mod_cu_function_cache_t::iterator cu; - for (cu = dw->cu_function_cache.begin(); + for (mod_cu_function_cache_t::iterator cu = dw->cu_function_cache.begin(); cu != dw->cu_function_cache.end(); cu++) { string key = cu->first; |