home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sources / wanted / 4318 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  1.2 KB

  1. Xref: sparky comp.sources.wanted:4318 comp.unix.questions:10981 comp.windows.x:16583
  2. Newsgroups: comp.sources.wanted,comp.unix.questions,comp.windows.x
  3. Path: sparky!uunet!spsgate!mogate!newsgate!chdasic.sps.mot.com!dichter
  4. From: dichter@chdasic.sps.mot.com (Carl Dichter)
  5. Subject: Re: Stack Traceback program wanted
  6. Message-ID: <1992Sep12.021619.19865@newsgate.sps.mot.com>
  7. Sender: usenet@newsgate.sps.mot.com
  8. Nntp-Posting-Host: 223.197.55.10
  9. Organization: SPS
  10. References:  <1992Sep9.143656.20352@kocrsv01.delcoelect.com>
  11. Date: Sat, 12 Sep 1992 02:16:19 GMT
  12. Lines: 16
  13.  
  14.  
  15. If you've got a core file, your fine:
  16. 1. The file format for core in documented in the man pages: core (5)
  17. 2. Better yet, most debuggers can read the core file and provide 
  18.    basic traceback even if the code isn't compiled for debug (unless 
  19.    it has been stripped), if it has been compiled for debug, you'll
  20.    get the values of the passed params as well. 
  21.    Someone posted an example using adb. With dbx it's:
  22.     $ my_program (run till crash and burn)
  23.     $ dbx my_program core
  24.     (dbx) where
  25.  
  26. ----------------------
  27. Carl R. Dichter             "iwannanugui"
  28. Motorola ASIC Division
  29. email: dichter@chdasic.sps.mot.com
  30.