home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / aix / 9687 < prev    next >
Encoding:
Internet Message Format  |  1992-09-15  |  1.6 KB

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