summaryrefslogtreecommitdiff
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
commit0ec2c1c8e8ec73c9bdecc54108e759a4e8ddba29 (patch)
treef9cc5668fc856d382350dff0158a582c8f03d127 /binutils/addr2line.c
parenta213b24f7e27b65e8659bbdbc8adc6f466f786e9 (diff)
downloadbinutils-redhat-0ec2c1c8e8ec73c9bdecc54108e759a4e8ddba29.tar.gz
* 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 a9ceb91586..fae7eddebb 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;