Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!usc!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!jik From: jik@athena.mit.edu (Jonathan I. Kamens) Newsgroups: comp.unix.questions Subject: Re: (g)prof on Sun's Message-ID: <1991Apr8.013622.10799@athena.mit.edu> Date: 8 Apr 91 01:36:22 GMT References: <10882@ncar.ucar.edu> Sender: news@athena.mit.edu (News system) Organization: Massachusetts Institute of Technology Lines: 16 In article <10882@ncar.ucar.edu>, rob@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@Athena.MIT.EDU Allston, MA 02134 Office: 617-253-8085 Home: 617-782-0710