#include "source.h"
#include "sym_ids.h"
-#define VERSION "2.7.1"
-
const char *whoami;
const char *function_mapping_file;
const char *a_out_name = A_OUTNAME;
[--version] [--width=n] [--ignore-non-functions]\n\
[image-file] [profile-file...]\n",
whoami);
+ if (status == 0)
+ fprintf (stream, "Report bugs to bug-gnu-utils@prep.ai.mit.edu\n");
done (status);
}
bsd_style_output = TRUE;
break;
case 'v':
- printf ("%s version %s\n", whoami, VERSION);
+ /* This output is intended to follow the GNU standards document. */
+ printf ("GNU gprof %s\n", VERSION);
+ printf ("Based on BSD gprof, copyright 1983 Regents of the University of California.\n");
+ printf ("\
+This program is free software. This program has absolutely no warranty.\n");
done (0);
case 'w':
output_width = atoi (optarg);