summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;