From 73ffa4f562d63475290006bdeff48e0fb89dfba0 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Tue, 26 Aug 2014 14:28:42 +0200 Subject: [PATCH] Fix access to alternate die -> decl map * src/abg-dwarf-reader.cc (read_context::alternate_die_decl_map): Return the real alternate die decl map, rather than what we was doing previously b/c of a stupid copy/paste. Oh well. Signed-off-by: Dodji Seketeli --- src/abg-dwarf-reader.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/abg-dwarf-reader.cc b/src/abg-dwarf-reader.cc index 9dc65d9b..d2994315 100644 --- a/src/abg-dwarf-reader.cc +++ b/src/abg-dwarf-reader.cc @@ -1501,7 +1501,7 @@ public: /// @return the die -> decl map of the alternate debug info file. const die_decl_map_type& alternate_die_decl_map() const - {return die_decl_map_;} + {return alternate_die_decl_map_;} /// Return the map that associates a decl to the DIE that represents /// it. This if for DIEs that come from the alternate debug info file. @@ -1513,7 +1513,7 @@ public: /// @return the die -> decl map of the alternate debug info file. die_decl_map_type& alternate_die_decl_map() - {return die_decl_map_;} + {return alternate_die_decl_map_;} private: /// Add an entry to the die->decl map for DIEs coming from the main