aboutsummaryrefslogtreecommitdiff
path: root/src/common/windows
diff options
context:
space:
mode:
authormmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e>2006-12-12 21:52:56 +0000
committermmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e>2006-12-12 21:52:56 +0000
commitc7b6c11f3287ec4fe52e6ad915ed9c906ed8d301 (patch)
tree6c3a7169e7084ac61821e48d3e0541464bec63a6 /src/common/windows
parentFix stackwalker_selftest following #89 (#95). r=bryner (diff)
downloadbreakpad-c7b6c11f3287ec4fe52e6ad915ed9c906ed8d301.tar.xz
Fix capitalization of identifiers (#94). r=bryner
http://groups.google.com/group/airbag-dev/browse_thread/thread/15cf4d0ce5ed1014 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@85 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/windows')
-rw-r--r--src/common/windows/pdb_source_line_writer.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/common/windows/pdb_source_line_writer.cc b/src/common/windows/pdb_source_line_writer.cc
index 5be053dc..4266dca8 100644
--- a/src/common/windows/pdb_source_line_writer.cc
+++ b/src/common/windows/pdb_source_line_writer.cc
@@ -715,10 +715,12 @@ bool PDBSourceLineWriter::GetModuleInfo(PDBModuleInfo *info) {
return false;
}
+ // Use the same format that the MS symbol server uses in filesystem
+ // hierarchies.
wchar_t age_string[9];
WindowsStringUtils::safe_swprintf(
age_string, sizeof(age_string) / sizeof(age_string[0]),
- L"%X", age);
+ L"%x", age);
info->debug_identifier = GUIDString::GUIDToSymbolServerWString(&guid);
info->debug_identifier.append(age_string);
@@ -728,11 +730,13 @@ bool PDBSourceLineWriter::GetModuleInfo(PDBModuleInfo *info) {
return false;
}
+ // Use the same format that the MS symbol server uses in filesystem
+ // hierarchies.
wchar_t identifier_string[17];
WindowsStringUtils::safe_swprintf(
identifier_string,
sizeof(identifier_string) / sizeof(identifier_string[0]),
- L"%08x%x", signature, age);
+ L"%08X%x", signature, age);
info->debug_identifier = identifier_string;
}