From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31265 invoked by alias); 22 Apr 2010 08:35:48 -0000 Received: (qmail 31255 invoked by uid 22791); 22 Apr 2010 08:35:48 -0000 X-SWARE-Spam-Status: No, hits=2.1 required=5.0 tests=BAYES_00,CHARSET_FARAWAY_HEADER,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45 X-Spam-Check-By: sourceware.org Received: from mail-qy0-f181.google.com (HELO mail-qy0-f181.google.com) (209.85.221.181) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 22 Apr 2010 08:35:43 +0000 Received: by qyk11 with SMTP id 11so9511030qyk.13 for ; Thu, 22 Apr 2010 01:35:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.94.204 with HTTP; Thu, 22 Apr 2010 01:35:41 -0700 (PDT) In-Reply-To: <201004220818.o3M8INMG014249@glazunov.sibelius.xs4all.nl> References: <201004220818.o3M8INMG014249@glazunov.sibelius.xs4all.nl> Date: Thu, 22 Apr 2010 08:35:00 -0000 Received: by 10.229.248.137 with SMTP id mg9mr174360qcb.33.1271925341954; Thu, 22 Apr 2010 01:35:41 -0700 (PDT) Message-ID: Subject: Re: No useful backtrace in core dump. From: =?GB2312?B?tPq2+9DA?= To: Mark Kettenis Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-04/txt/msg00072.txt.bz2 Hi Mark, How about I use lower optimize option with GCC? If this still can't work, I will follow your suggestion... Thanks! 2010/4/22 Mark Kettenis : >> Date: Thu, 22 Apr 2010 10:40:57 +0800 >> From: =3D?GB2312?B?tPq2+9DA?=3D >> >> Hi list, >> =A0 =A0 =A0 =A0 I'm new with gdb. Really need your help. I run gdb with = my >> program on ARM platform. I compiled the codes with -g option. After >> the codes crash, in core dump file, I only see something like: >> >> Raise() >> Abort() >> ?? () >> >> Why no the last function called in my program? How to make this work, >> Please help. > > Because GCC generates overoptimized code that destroys the call stack. > Please complain about this on the gcc mailing lists. >