Fix DumpSymbols error message when using multiple debug_dirs, followup from r1102.
Patch by Julian Seward <jseward@acm.org>, R=ted git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1116 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
24c9dfed8a
commit
7a469b1031
1 changed files with 6 additions and 2 deletions
|
@ -418,8 +418,12 @@ string ReadDebugLink(const char* debuglink,
|
|||
}
|
||||
|
||||
if (!found) {
|
||||
fprintf(stderr, "Failed to open debug ELF file '%s' for '%s': %s\n",
|
||||
debuglink_path.c_str(), obj_file.c_str(), strerror(errno));
|
||||
fprintf(stderr, "Failed to find debug ELF file for '%s' after trying:\n",
|
||||
obj_file.c_str());
|
||||
for (it = debug_dirs.begin(); it < debug_dirs.end(); ++it) {
|
||||
const string debug_dir = *it;
|
||||
fprintf(stderr, " %s/%s\n", debug_dir.c_str(), debuglink);
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue