From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31552 invoked by alias); 3 Feb 2007 16:15:05 -0000 Received: (qmail 31493 invoked by uid 22791); 3 Feb 2007 16:15:02 -0000 X-Spam-Check-By: sourceware.org Received: from eastrmmtao02.cox.net (HELO eastrmmtao02.cox.net) (68.230.240.37) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 03 Feb 2007 16:14:56 +0000 Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao02.cox.net (InterMail vM.6.01.06.03 201-2131-130-104-20060516) with ESMTP id <20070203161454.CDCH9317.eastrmmtao02.cox.net@eastrmimpo02.cox.net>; Sat, 3 Feb 2007 11:14:54 -0500 Received: from black ([70.181.32.198]) by eastrmimpo02.cox.net with bizsmtp id K4Et1W00R4GV2Jm0000000; Sat, 03 Feb 2007 11:14:53 -0500 Received: from bob by black with local (Exim 4.62) (envelope-from ) id 1HDNXR-0008Di-76; Sat, 03 Feb 2007 11:14:53 -0500 Date: Sat, 03 Feb 2007 16:15:00 -0000 From: Bob Rossi To: Simon Toth , g@cox.net Cc: gdb@sourceware.org Subject: Re: Selft tracing utility Message-ID: <20070203161453.GE12712@cox.net> References: <45C4A331.1080801@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45C4A331.1080801@gmail.com> User-Agent: Mutt/1.5.12-2006-07-14 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-02/txt/msg00023.txt.bz2 On Sat, Feb 03, 2007 at 03:58:57PM +0100, Simon Toth wrote: > I'm currently extending the debug support for my programs and trying to > find something that will dump the current call-stack. You could just use this, http://www.gnu.org/software/libc/manual/html_node/Backtraces.html You can use addr2line to convert the address's it prints to source:line numbers. Bob Rossi