]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - binutils/addr2line.c
top level:
[thirdparty/binutils-gdb.git] / binutils / addr2line.c
index 928bf1289592951a7c2df763f762503a8eed80ce..8347cfa13a2a93eb67b70571a4a81c375c284b78 100644 (file)
@@ -1,5 +1,5 @@
 /* addr2line.c -- convert addresses to line number and function name
-   Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006
+   Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006, 2007
    Free Software Foundation, Inc.
    Contributed by Ulrich Lauther <Ulrich.Lauther@mchp.siemens.de>
 
@@ -91,7 +91,7 @@ usage (FILE *stream, int status)
 \n"));
 
   list_supported_targets (program_name, stream);
-  if (status == 0)
+  if (REPORT_BUGS_TO[0] && status == 0)
     fprintf (stream, _("Report bugs to %s\n"), REPORT_BUGS_TO);
   exit (status);
 }