From owner-freebsd-stable Fri Dec 22 6:31:33 2000 From owner-freebsd-stable@FreeBSD.ORG Fri Dec 22 06:31:31 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from smtp3.vnet.net (smtp3.vnet.net [166.82.1.33]) by hub.freebsd.org (Postfix) with ESMTP id 61BCF37B400 for ; Fri, 22 Dec 2000 06:31:31 -0800 (PST) Received: from dignus.com (ponds.vnet.net [166.82.177.48]) by smtp3.vnet.net (8.10.1/8.10.1) with ESMTP id eBMEVQ022716; Fri, 22 Dec 2000 09:31:26 -0500 (EST) Received: from lakes.dignus.com (lakes.dignus.com [10.0.0.3]) by dignus.com (8.9.2/8.8.5) with ESMTP id JAA22076; Fri, 22 Dec 2000 09:31:24 -0500 (EST) Received: (from rivers@localhost) by lakes.dignus.com (8.9.3/8.6.9) id JAA15706; Fri, 22 Dec 2000 09:31:24 -0500 (EST) Date: Fri, 22 Dec 2000 09:31:24 -0500 (EST) From: Thomas David Rivers Message-Id: <200012221431.JAA15706@lakes.dignus.com> To: dwmalone@maths.tcd.ie, rivers@dignus.com Subject: Re: gcc profiling support? Cc: freebsd-stable@freebsd.org In-Reply-To: <20001222142757.A88340@walton.maths.tcd.ie> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David Malone writes: > On Fri, Dec 22, 2000 at 08:51:14AM -0500, Thomas David Rivers wrote: > > > But, when I use a small "hello world" program, and compile > > it with: > > > > gcc -pg hello.c > > > > and run the resulting a.out, I don't get the expected > > gmon.out. > > It should be called a.out.gmon I think. > > David. > Ah... so it is... (makes sense - sorta analagous to core dumps) Well then, the `bug' is in gprof - it expects to see gmon.out. Perhaps just a note in the gprof man page would be enough? - Dave Rivers - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message