From owner-freebsd-bugs Fri Apr 7 13:10: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6868637BABF for ; Fri, 7 Apr 2000 13:10:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA90300; Fri, 7 Apr 2000 13:10:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Fri, 7 Apr 2000 13:10:03 -0700 (PDT) Message-Id: <200004072010.NAA90300@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: David Malone Subject: Re: gnu/17812: gprof gives error Reply-To: David Malone Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR gnu/17812; it has been noted by GNATS. From: David Malone To: freebsd-gnats-submit@FreeBSD.org, christor@ug.cs.sunysb.edu Cc: Subject: Re: gnu/17812: gprof gives error Date: Fri, 07 Apr 2000 21:01:27 +0100 Gprof seems to work OK for me on 3.4-STABLE. I'd guess you have a gmon.out file which is corrupt or for a different type of system. For me it produced a file called hello.gmon, so I had to give this on the command line. David. 182% cat hello.c #include int main(void){ printf("hello world!\n"); } 183% gcc -pg -o hello hello.c 184% ls -l total 55 -rwxr-xr-x 1 dwmalone wheel 54638 Apr 7 20:55 hello -rw-r--r-- 1 dwmalone wheel 76 Apr 7 20:53 hello.c 185% ./hello hello world! 186% ls -l total 74 -rwxr-xr-x 1 dwmalone wheel 54638 Apr 7 20:55 hello -rw-r--r-- 1 dwmalone wheel 76 Apr 7 20:53 hello.c -rw-r--r-- 1 dwmalone wheel 18482 Apr 7 20:55 hello.gmon 187% gprof hello hello.gmon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message