Core dumps

Russell Shaw
2006-01-09T09:33:08Z

Hi,
When i make my code core-dump using abort(), and read the
core with "target core core", the back-trace shows a corrupted
stack. How do i make a core dump that has an intact stack i can
trace thru? Should i use something other than abort()?