Commit 58d67a3f authored by Benoit Perrot's avatar Benoit Perrot
Browse files

Index: ChangeLog

from  Benoît Perrot  <benoit@lrde.epita.fr>

	* src/inst/text_section.cc: Fix label search for program display.
parent d36fa2b8
2004-09-26 Benot Perrot <benoit@lrde.epita.fr>
* src/inst/text_section.cc: Fix label search for program display.
2004-09-26 Benot Perrot <benoit@lrde.epita.fr>
Name sections.
......
......@@ -44,7 +44,7 @@ namespace inst
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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment