diff options
author | nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2009-06-05 22:40:28 +0000 |
---|---|---|
committer | nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2009-06-05 22:40:28 +0000 |
commit | 0eb52ff8cc719b22cecf0b2e333ae13fbf9293cd (patch) | |
tree | 4b0df7aae38adc73e7834469af04eaf59e14f9b2 /src/tools/linux/dump_syms | |
parent | Support custom URL parameters. Added unit tests for Breakpad. Added (diff) | |
download | breakpad-0eb52ff8cc719b22cecf0b2e333ae13fbf9293cd.tar.xz |
Use ctsdio streams for dump_syms for significant speedup. Also contains a makefile fix to build in 32-bit mode, even on 64-bit systems.
A=jim blandy
R=nealsid
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@347 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/tools/linux/dump_syms')
-rw-r--r-- | src/tools/linux/dump_syms/Makefile | 2 | ||||
-rw-r--r-- | src/tools/linux/dump_syms/dump_syms.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/linux/dump_syms/Makefile b/src/tools/linux/dump_syms/Makefile index 7d74abad..ce60a42b 100644 --- a/src/tools/linux/dump_syms/Makefile +++ b/src/tools/linux/dump_syms/Makefile @@ -1,7 +1,7 @@ CXX=g++ CC=gcc -CXXFLAGS=-gstabs -I../../.. -DNDEBUG -Wall -D_REENTRANT +CXXFLAGS=-gstabs -I../../.. -DNDEBUG -Wall -D_REENTRANT -m32 .PHONY:all clean diff --git a/src/tools/linux/dump_syms/dump_syms.cc b/src/tools/linux/dump_syms/dump_syms.cc index e7eb0a2d..f75abef8 100644 --- a/src/tools/linux/dump_syms/dump_syms.cc +++ b/src/tools/linux/dump_syms/dump_syms.cc @@ -43,7 +43,7 @@ int main(int argc, char **argv) { const char *binary = argv[1]; DumpSymbols dumper; - if (!dumper.WriteSymbolFile(binary, fileno(stdout))) { + if (!dumper.WriteSymbolFile(binary, stdout)) { fprintf(stderr, "Failed to write symbol file.\n"); return 1; } |