From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20034 invoked by alias); 27 Aug 2009 14:35:55 -0000 Received: (qmail 20023 invoked by uid 22791); 27 Aug 2009 14:35:54 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_05 X-Spam-Check-By: sourceware.org Received: from mta.netezza.com (HELO netezza.com) (12.148.248.132) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 27 Aug 2009 14:35:49 +0000 Received: from ([172.29.50.132]) by mta.netezza.com with ESMTP with TLS id 4441227.15515607; Thu, 27 Aug 2009 10:35:41 -0400 Received: from corp-exch01.netezza.com ([fe80::d815:ca6b:48c5:663e]) by owa2.netezza.com ([172.29.50.132]) with mapi; Thu, 27 Aug 2009 10:35:40 -0400 From: John Yates To: 'Christophe-Marie Duquesne' , paawan oza CC: "gdb@sourceware.org" Date: Thu, 27 Aug 2009 15:45:00 -0000 Subject: RE: Backtrace library? Message-ID: <0C8E40D1B3E28947A3EA5E185EF1C9B2AF5FA19B02@CORP-EXCH01.netezza.com> References: <0C8E40D1B3E28947A3EA5E185EF1C9B2AF5FA19AF4@CORP-EXCH01.netezza.com> <229353.81964.qm@web112508.mail.gq1.yahoo.com> <8ccc3510908270116o4fd5b0cn6496b9c0edf5bd2b@mail.gmail.com> In-Reply-To: <8ccc3510908270116o4fd5b0cn6496b9c0edf5bd2b@mail.gmail.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: 2009-08/txt/msg00260.txt.bz2 Christophe-Marie Duquesne writes: > I saw there was a C library libbacktrace which is supposed > to replicate gdb's backtrace. I found it by chance while > browsing the archlinux users repository : > http://aur.archlinux.org/packages.php?ID=3D24369 Thanks for the suggestion. Sadly this only maintains a stack in which code= compiled with function entry and exit macros can explicitly push and pop f= ile/lineno/function triples. It does not decode the contents of the image. /john