aboutsummaryrefslogtreecommitdiff
path: root/binutils/addr2line.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2002-05-19 16:17:54 +0000
committerKazu Hirata <kazu@codesourcery.com>2002-05-19 16:17:54 +0000
commitf462a9ea21643369d0dd4327c69c0a802cb3da35 (patch)
treef2b7318286b6237a5e8fd8a2b16d7492628f1bf4 /binutils/addr2line.c
parentd13351445b92959ed7963e4c5e6a51741bf7f394 (diff)
downloadgdb-f462a9ea21643369d0dd4327c69c0a802cb3da35.zip
gdb-f462a9ea21643369d0dd4327c69c0a802cb3da35.tar.gz
gdb-f462a9ea21643369d0dd4327c69c0a802cb3da35.tar.bz2
* addr2line.c: Fix formatting.
* ar.c: Likewise. * arsup.c: Likewise. * arsup.h: Likewise. * binemul.c: Likewise. * binemul.h: Likewise. * bucomm.c: Likewise. * coffdump.c: Likewise. * coffgrok.c: Likewise. * coffgrok.h: Likewise.
Diffstat (limited to 'binutils/addr2line.c')
-rw-r--r--binutils/addr2line.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/binutils/addr2line.c b/binutils/addr2line.c
index a9ceb91..fae7edd 100644
--- a/binutils/addr2line.c
+++ b/binutils/addr2line.c
@@ -20,10 +20,10 @@
/* Derived from objdump.c and nm.c by Ulrich.Lauther@mchp.siemens.de
- Usage:
+ Usage:
addr2line [options] addr addr ...
or
- addr2line [options]
+ addr2line [options]
both forms write results to stdout, the second form reads addresses
to be converted from stdin. */
@@ -314,14 +314,14 @@ main (argc, argv)
if (optarg != NULL)
{
enum demangling_styles style;
-
+
style = cplus_demangle_name_to_style (optarg);
- if (style == unknown_demangling)
+ if (style == unknown_demangling)
fatal (_("unknown demangling style `%s'"),
optarg);
-
+
cplus_demangle_set_style (style);
- }
+ }
break;
case 'e':
filename = optarg;