home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!mimsy!kong!nsisrv!nsisrv!kstailey
- From: kstailey@leidecker.gsfc.nasa.gov (Kenneth Stailey)
- Newsgroups: comp.unix.aix
- Subject: Re: Core File Question- Who created it?
- Message-ID: <KSTAILEY.92Sep15163923@leidecker.gsfc.nasa.gov>
- Date: 15 Sep 92 21:39:23 GMT
- References: <22064@nntp_server.ems.cdc.com> <rob.715618443@cod.csi.on.ca>
- <1992Sep8.143420.21935@awdprime.austin.ibm.com>
- Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
- Distribution: usa
- Organization: /kstailey/.organization
- Lines: 19
- In-Reply-To: marc@yogi.austin.ibm.com's message of 8 Sep 92 14: 34:20 GMT
- Nntp-Posting-Host: leidecker.gsfc.nasa.gov
-
- In article <1992Sep8.143420.21935@awdprime.austin.ibm.com> marc@yogi.austin.ibm.com (Marc J. Stephenson) writes:
-
- >There are lots of ways to look at the core file to determine who dumped core -
- >my favorite is to run dbx on anything. dbx will identify the name of the
- >program which dumped (unless the program matches the core file).
- [stuff deleted]
- > By the way, the information is indeed in the ld_info structure - the "execed"
- >program name is found in the first ld_info structure (in the ldinfo_filename
- >field (described in /usr/include/sys/ldr.h)) pointed to by the c_tab field
- >in the core file header. A program could easily be written to print out the
- >name of the program - I just let dbx do it for me.
-
- A faster approach is "od -c core | grep 0003460"
-
- --
- -----------------------------------------------------------------
- It's not just my .signature file, It's also a client!
-
- replys to kstailey@gnu.ai.mit.edu or kstailey@leidecker.gsfc.nasa.gov
-