aboutsummaryrefslogtreecommitdiff
path: root/src/tools/linux
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/linux')
-rw-r--r--src/tools/linux/dump_syms/dump_syms.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/tools/linux/dump_syms/dump_syms.cc b/src/tools/linux/dump_syms/dump_syms.cc
index f75abef8..9667b38d 100644
--- a/src/tools/linux/dump_syms/dump_syms.cc
+++ b/src/tools/linux/dump_syms/dump_syms.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006, Google Inc.
+// Copyright (c) 2010, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
@@ -36,14 +36,13 @@ using namespace google_breakpad;
int main(int argc, char **argv) {
if (argc != 2) {
- fprintf(stderr, "Usage: %s <binary-with-stab-symbol>\n", argv[0]);
+ fprintf(stderr, "Usage: %s <binary-with-debugging-info>\n", argv[0]);
return 1;
}
const char *binary = argv[1];
- DumpSymbols dumper;
- if (!dumper.WriteSymbolFile(binary, stdout)) {
+ if (!WriteSymbolFile(binary, stdout)) {
fprintf(stderr, "Failed to write symbol file.\n");
return 1;
}