[nolimips: 129] Fix label search for program display

26 Sep
2004
26 Sep
'04
6:57 p.m.
Index: ChangeLog from Benoît Perrot <benoit@lrde.epita.fr> * src/inst/text_section.cc: Fix label search for program display. 2004-09-26 Benoît Perrot <benoit@lrde.epita.fr> Index: src/inst/text_section.cc --- src/inst/text_section.cc (revision 128) +++ src/inst/text_section.cc (revision 129) @@ -44,7 +44,7 @@ for (unsigned i = 0; i < insts_.size(); ++i) { std::map<int, label_list_type>::const_iterator it = - labels_.find(i); + labels_.find(i * 4); if (it != labels_.end()) for (label_list_type::const_iterator l = (*it).second.begin(); l != (*it).second.end(); ++l)
7687
Age (days ago)
7687
Last active (days ago)
0 comments
1 participants
participants (1)
-
Noe