summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-07-10 22:23:12 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-07-10 22:23:12 -0400
commit73f289b23ed0db47b7acb4ca75094cee4f22927f (patch)
treeb7acce889f77d25c5affb3f77bcc5be1d01371de
parentd2d885a0f315de0bb2229e83ea282f0c036a83b6 (diff)
downloadsystemtap-steved-73f289b23ed0db47b7acb4ca75094cee4f22927f.tar.gz
systemtap-steved-73f289b23ed0db47b7acb4ca75094cee4f22927f.tar.xz
systemtap-steved-73f289b23ed0db47b7acb4ca75094cee4f22927f.zip
PR6703: gcc4.1 build compatibility
-rw-r--r--ChangeLog6
-rw-r--r--tapsets.cxx3
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5cafdd7c..0795369b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;