diff options
author | bryner <bryner@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2006-10-16 17:27:03 +0000 |
---|---|---|
committer | bryner <bryner@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2006-10-16 17:27:03 +0000 |
commit | 8b1645d8cdb34035c0b132fe8b574bc5ee48fb62 (patch) | |
tree | b161860b45cce80cfbe75806f1d9d9cb2aa02fa8 /src/tools/windows/dump_syms/dump_syms.cc | |
parent | Handle frame pointer omission (#21), part 3: SourceLineResolver and PDBSource... (diff) | |
download | breakpad-8b1645d8cdb34035c0b132fe8b574bc5ee48fb62.tar.xz |
Implement a tool to upload symbols on Windows, given an exe or dll file with
debugging info. Refactor common code into HTTPUpload so that the multipart
POST request code can be shared with CrashReportSender. #47
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@39 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/tools/windows/dump_syms/dump_syms.cc')
-rw-r--r-- | src/tools/windows/dump_syms/dump_syms.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tools/windows/dump_syms/dump_syms.cc b/src/tools/windows/dump_syms/dump_syms.cc index c2fa90c2..ca63c2c4 100644 --- a/src/tools/windows/dump_syms/dump_syms.cc +++ b/src/tools/windows/dump_syms/dump_syms.cc @@ -32,9 +32,10 @@ #include <stdio.h> #include <string> -#include "pdb_source_line_writer.h" +#include "common/windows/pdb_source_line_writer.h" using std::wstring; +using google_airbag::PDBSourceLineWriter; int main(int argc, char **argv) { if (argc < 2) { @@ -48,8 +49,8 @@ int main(int argc, char **argv) { return 1; } - google_airbag::PDBSourceLineWriter writer; - if (!writer.Open(wstring(filename))) { + PDBSourceLineWriter writer; + if (!writer.Open(wstring(filename), PDBSourceLineWriter::PDB_FILE)) { fprintf(stderr, "Open failed\n"); return 1; } |