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