Tue Feb 3 14:25:25 1998 Brent Baccala <baccala@freesoft.org>
[deliverable/binutils-gdb.git] / gprof / gprof.c
index 449ab203b547d03866e81ba4ab4d1a7fad7e3cdc..3677c400d4d2ded7e46296f42709213b00b2491a 100644 (file)
@@ -419,6 +419,12 @@ This program is free software.  This program has absolutely no warranty.\n");
       done (1);
     }
 
+  /* --sum implies --line, otherwise we'd lose b-b counts in gmon.sum */
+  if (output_style & STYLE_SUMMARY_FILE)
+    {
+      line_granularity = 1;
+    }
+
   /* append value of GPROF_PATH to source search list if set: */
   str = (char *) getenv ("GPROF_PATH");
   if (str)
This page took 0.03474 seconds and 4 git commands to generate.