From: John L. <mov...@us...> - 2005-04-11 14:19:05
|
Update of /cvsroot/oprofile/oprofile/pp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12953/pp Modified Files: opannotate.cpp Log Message: fix opannotate when it matches several binaries Index: opannotate.cpp =================================================================== RCS file: /cvsroot/oprofile/oprofile/pp/opannotate.cpp,v retrieving revision 1.37 retrieving revision 1.38 diff -u -p -d -r1.37 -r1.38 --- opannotate.cpp 6 Apr 2005 21:07:08 -0000 1.37 +++ opannotate.cpp 11 Apr 2005 14:18:48 -0000 1.38 @@ -679,9 +679,12 @@ int opannotate(vector<string> const & no bool debug_info = false; for (; it != end; ++it) { + bool tmp = false; populate_for_image(options::archive_path, *samples, *it, - options::symbol_filter, &debug_info); + options::symbol_filter, &tmp); images.push_back(it->image); + if (tmp) + debug_info = true; } if (!debug_info && !options::assembly) { |