Index: ChangeLog
from Benoît Perrot <benoit(a)lrde.epita.fr>
* src/inst/text_section.cc: Fix label search for program display.
2004-09-26 Benoît Perrot <benoit(a)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)
Show replies by date