From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11885 invoked by alias); 12 Mar 2007 01:15:13 -0000 Received: (qmail 11877 invoked by uid 22791); 12 Mar 2007 01:15:13 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Mon, 12 Mar 2007 01:15:07 +0000 Received: from dsl093-172-095.pit1.dsl.speakeasy.net ([66.93.172.95] helo=caradoc.them.org) by nevyn.them.org with esmtp (Exim 4.63) (envelope-from ) id 1HQZ7v-0008AX-KC; Sun, 11 Mar 2007 21:15:03 -0400 Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1HQZ7u-0007aN-TY; Sun, 11 Mar 2007 21:15:02 -0400 Date: Mon, 12 Mar 2007 01:15:00 -0000 From: Daniel Jacobowitz To: Rich Rattanni Cc: gdb@sourceware.org, Paul Brook Subject: Re: Debugging glibc crashes with GDB Message-ID: <20070312011502.GA29117@caradoc.them.org> Mail-Followup-To: Rich Rattanni , gdb@sourceware.org, Paul Brook References: <3187bd480703111104r46b15863g2d59714f5cc3793e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3187bd480703111104r46b15863g2d59714f5cc3793e@mail.gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) 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: 2007-03/txt/msg00159.txt.bz2 On Sun, Mar 11, 2007 at 02:04:41PM -0400, Rich Rattanni wrote: > Below you will find the GDB output related to my question. My problem > is that when I try to debug a program after receiving a glibc abort > error (MALLOC_CHECK = 2) I cannot backtrace the program to find out > what piece of my application caused the problem. I can see the call > to raise and abort, but then I get the error message "Backtrace > stopped: > frame did not save the PC". I believe this is a known problem with the ARM port of GCC. What GCC version are you using to build glibc? It doesn't save the return address anywhere when it reaches abort; this is a somewhat limited value optimization. -- Daniel Jacobowitz CodeSourcery