From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20519 invoked by alias); 9 Jan 2006 19:12:18 -0000 Received: (qmail 20494 invoked by uid 22791); 9 Jan 2006 19:12:15 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 09 Jan 2006 19:12:09 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.4/8.13.4) with ESMTP id k09JC0qV018695; Mon, 9 Jan 2006 20:12:00 +0100 (CET) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.4/8.13.3) with ESMTP id k09JC0Hc010329; Mon, 9 Jan 2006 20:12:00 +0100 (CET) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.4/8.13.4/Submit) id k09JC0fp022663; Mon, 9 Jan 2006 20:12:00 +0100 (CET) Date: Mon, 09 Jan 2006 19:12:00 -0000 Message-Id: <200601091912.k09JC0fp022663@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: rjshaw@netspace.net.au CC: gdb@sources.redhat.com In-reply-to: <43C22DD0.5080503@netspace.net.au> (message from Russell Shaw on Mon, 09 Jan 2006 20:33:04 +1100) Subject: Re: Core dumps References: <43C22DD0.5080503@netspace.net.au> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00069.txt.bz2 > Date: Mon, 09 Jan 2006 20:33:04 +1100 > From: Russell Shaw > > 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()? Sorry, but you don't provide nearly enough information to enable us to answer your question. At least we need to know what OS, what hardware platform, what version of GDB and what version of GCC you're using. It'd help us even more if you could provide a typescript of a GDB session that show us your problem. Thanks, Mark