Fix capitialisation of setnaces in comment.
[deliverable/binutils-gdb.git] / gprof / gmon.h
index 6d0f7438947ab5dfe2911fa53e6f631a8ba6adb6..541fa4dbdf991748cff380c02fa320a06e32cb14 100644 (file)
@@ -48,6 +48,26 @@ struct raw_phdr
 #endif
     char ncnt[4];              /* size of sample buffer (plus this header) */
 
+    char version[4];           /* version number */
+    char profrate[4];          /* profiling clock rate */
+    char spare[3*4];           /* reserved */
+  };
+
+#define GMONVERSION     0x00051879
+
+struct old_raw_phdr
+  {
+    /* FIXME: Checking a host compiler define means that we can't use
+       a cross gprof to the alpha.  */
+#ifdef __alpha__
+    char low_pc[8];            /* base pc address of sample buffer */
+    char high_pc[8];           /* max pc address of sampled buffer */
+#else
+    char low_pc[4];            /* base pc address of sample buffer */
+    char high_pc[4];           /* max pc address of sampled buffer */
+#endif
+    char ncnt[4];              /* size of sample buffer (plus this header) */
+
     /* FIXME: Checking host compiler defines here means that we can't
        use a cross gprof alpha OSF.  */
 #if defined (__alpha__) && defined (__osf__)
@@ -56,12 +76,6 @@ struct raw_phdr
      * a size that is a multiple of 8.
      */
     char pad[4];
-#else
-#ifdef BSD44_FORMAT
-    char version[4];                   /* version number */
-    char profrate[4];                  /* profiling clock rate */
-    char spare[3*4];                   /* reserved */
-#endif
 #endif
   };
 
This page took 0.023282 seconds and 4 git commands to generate.