(g)prof on Sun's

Jonathan I. Kamens jik at athena.mit.edu
Mon Apr 8 11:36:22 AEST 1991


In article <10882 at ncar.ucar.edu>, rob at hao.ucar.edu (Rob Montgomery) writes:
|> On a large program (not written by me):  I follow the above procedure
|> and get a core dump from running the "-p" version, and from neither the
|> "-p" nor the "-pg" codes do I get a *.out file.

  My man page says that -p or -pg "arranges to write out a [g]mon.out file at
normal termination of execution of the object program."

  A coredump is not normal termination, so the mon.out/gmon.out file is not
written.

-- 
Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik at Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8085			      Home: 617-782-0710



More information about the Comp.unix.questions mailing list