gdb: defer commit resume until all available events are consumed
[deliverable/binutils-gdb.git] / gprof / gprof.c
index 4df99751a3ea99f9a43fd55a75f5b12e2df69464..da1411b30a6e20d964cedd287ce77020a854af88 100644 (file)
@@ -160,7 +160,7 @@ static void
 usage (FILE *stream, int status)
 {
   fprintf (stream, _("\
-Usage: %s [-[abcDhilLsTvwxyz]] [-[ACeEfFJnNOpPqSQZ][name]] [-I dirs]\n\
+Usage: %s [-[abcDhilLrsTvwxyz]] [-[ACeEfFJnNOpPqQRStZ][name]] [-I dirs]\n\
        [-d[num]] [-k from/to] [-m min-count] [-t table-length]\n\
        [--[no-]annotated-source[=name]] [--[no-]exec-counts[=name]]\n\
        [--[no-]flat-profile[=name]] [--[no-]graph[=name]]\n\
@@ -259,14 +259,20 @@ main (int argc, char **argv)
          break;
        case 'E':
          sym_id_add (optarg, EXCL_TIME);
+         /* Fall through.  */
        case 'e':
          sym_id_add (optarg, EXCL_GRAPH);
          break;
        case 'F':
          sym_id_add (optarg, INCL_TIME);
+         /* Fall through.  */
        case 'f':
          sym_id_add (optarg, INCL_GRAPH);
          break;
+         /* FIXME: The -g and -G options are not present in the getopt_long
+            invocation above, and they are not documented in gprof.texi.
+            Therefore they appear to be deprecated.  Test this theory and
+            delete them if true.  */
        case 'g':
          sym_id_add (optarg, EXCL_FLAT);
          break;
@@ -450,7 +456,7 @@ This program is free software.  This program has absolutely no warranty.\n"));
            {
              output_style &= ~STYLE_EXEC_COUNTS;
            }
-         user_specified |= STYLE_ANNOTATED_SOURCE;
+         user_specified |= STYLE_EXEC_COUNTS;
          break;
        case OPTION_DEMANGLE:
          demangle = TRUE;
This page took 0.024672 seconds and 4 git commands to generate.