aboutsummaryrefslogtreecommitdiff
path: root/src/tools/mac/dump_syms
diff options
context:
space:
mode:
authorted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e>2011-07-26 14:03:09 +0000
committerted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e>2011-07-26 14:03:09 +0000
commit48550041f9663bd13cb805cf770b7d1ddcb1514a (patch)
treec0ee0e02f25cf3c056dbad4bb0f14df91c017fe2 /src/tools/mac/dump_syms
parentFix compilation using the OS X 10.7 SDK by #ifdefing out PPC support when tar... (diff)
downloadbreakpad-48550041f9663bd13cb805cf770b7d1ddcb1514a.tar.xz
Switch mac DumpSymbols::WriteSymbolFile to take an ostream instead of a FILE* to match the changes to Module::Write
R=mark at http://breakpad.appspot.com/294001/show git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@818 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/tools/mac/dump_syms')
-rw-r--r--src/tools/mac/dump_syms/dump_syms_tool.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/mac/dump_syms/dump_syms_tool.mm b/src/tools/mac/dump_syms/dump_syms_tool.mm
index 0b8c11b9..3f1f03b6 100644
--- a/src/tools/mac/dump_syms/dump_syms_tool.mm
+++ b/src/tools/mac/dump_syms/dump_syms_tool.mm
@@ -35,6 +35,7 @@
#include <mach-o/arch.h>
#include <unistd.h>
+#include <iostream>
#include <vector>
#include "common/mac/dump_syms.h"
@@ -82,7 +83,7 @@ static bool Start(const Options &options) {
}
}
- return dump_symbols.WriteSymbolFile(stdout);
+ return dump_symbols.WriteSymbolFile(std::cout);
}
//=============================================================================