From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14985 invoked by alias); 21 Aug 2009 00:24:53 -0000 Received: (qmail 14977 invoked by uid 22791); 21 Aug 2009 00:24:52 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 21 Aug 2009 00:24:46 +0000 Received: from zps76.corp.google.com (zps76.corp.google.com [172.25.146.76]) by smtp-out.google.com with ESMTP id n7L0Ohkk031408 for ; Thu, 20 Aug 2009 17:24:43 -0700 Received: from rv-out-0708.google.com (rvbf25.prod.google.com [10.140.82.25]) by zps76.corp.google.com with ESMTP id n7L0OUGQ026616 for ; Thu, 20 Aug 2009 17:24:41 -0700 Received: by rv-out-0708.google.com with SMTP id f25so96897rvb.14 for ; Thu, 20 Aug 2009 17:24:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.133.7 with SMTP id g7mr247924rvd.169.1250814281633; Thu, 20 Aug 2009 17:24:41 -0700 (PDT) In-Reply-To: <0C8E40D1B3E28947A3EA5E185EF1C9B2AF5FA19AF4@CORP-EXCH01.netezza.com> References: <0C8E40D1B3E28947A3EA5E185EF1C9B2AF5FA19AF4@CORP-EXCH01.netezza.com> Date: Fri, 21 Aug 2009 07:48:00 -0000 Message-ID: <8ac60eac0908201724l7687f739k5d276b28a62e8069@mail.gmail.com> Subject: Re: Backtrace library? From: Paul Pluzhnikov To: John Yates Cc: "gdb@sourceware.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-System-Of-Record: true 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: 2009-08/txt/msg00204.txt.bz2 On Thu, Aug 20, 2009 at 1:27 PM, John Yates wrote: > Assuming I have an elf image compiled with full debugging information > is there any library I can use to get a gdb-style backtrace with sourc > path and line number rather than the C library's rather Spartan version? I am not aware of any such library, but you can pipe the "spartan" output through addr2line and get desired result. Cheers, -- Paul Pluzhnikov