aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-02-27 16:43:26 +0000
committerted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-02-27 16:43:26 +0000
commit7a469b103153a02ab088b9b39a21d4c74b419c41 (patch)
tree1f1e68090f6aab1787a6b9c9e1836c6cb66a0145 /src/common
parentsize_limit_ member of minidump_descriptor ignored in copy constructor (diff)
downloadbreakpad-7a469b103153a02ab088b9b39a21d4c74b419c41.tar.xz
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
Diffstat (limited to 'src/common')
-rw-r--r--src/common/linux/dump_symbols.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/common/linux/dump_symbols.cc b/src/common/linux/dump_symbols.cc
index ea9b8328..fed27b7a 100644
--- a/src/common/linux/dump_symbols.cc
+++ b/src/common/linux/dump_symbols.cc
@@ -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 "";
}