-struct raw_phdr
- {
- /* FIXME: Checking a host compiler define means that we can't use
- a cross gprof to the alpha. */
- char low_pc[GMON_PTR_SIZE]; /* base pc address of sample buffer */
- char high_pc[GMON_PTR_SIZE];/* max pc address of sampled buffer */
- 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 */
- };
+/* Size of the 4.4BSD gmon header */
+#define GMON_HDRSIZE_BSD44_32 (4 + 4 + 4 + 4 + 4 + (3 * 4))
+#define GMON_HDRSIZE_BSD44_64 (8 + 8 + 4 + 4 + 4 + (3 * 4))
+
+/* *INDENT-OFF* */
+/* For documentation purposes only.
+
+ struct raw_phdr
+ {
+ char low_pc[sizeof(void *)]; -- base pc address of sample buffer
+ char high_pc[sizeof(void *)]; -- max pc address of sampled buffer
+ 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
+ };
+*/
+/* *INDENT-ON* */