From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5441 invoked by alias); 3 Dec 2004 15:20:09 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 5338 invoked from network); 3 Dec 2004 15:19:59 -0000 Received: from unknown (HELO lakermmtao11.cox.net) (68.230.240.28) by sourceware.org with SMTP; 3 Dec 2004 15:19:59 -0000 Received: from white ([68.9.64.121]) by lakermmtao11.cox.net (InterMail vM.6.01.04.00 201-2131-117-20041022) with ESMTP id <20041203151958.ZCYY1654.lakermmtao11.cox.net@white>; Fri, 3 Dec 2004 10:19:58 -0500 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1CaFDx-0001Yr-00; Fri, 03 Dec 2004 10:19:57 -0500 Date: Fri, 03 Dec 2004 15:20:00 -0000 From: Bob Rossi To: Andreas Schwab Cc: laurent.marzullo@one-d.com, gdb@sources.redhat.com Subject: Re: backtrace of the current process execution Message-ID: <20041203151957.GA5937@white> Mail-Followup-To: Andreas Schwab , laurent.marzullo@one-d.com, gdb@sources.redhat.com References: <1102086363.41b080db92649@ssl0.ovh.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i X-SW-Source: 2004-12/txt/msg00020.txt.bz2 On Fri, Dec 03, 2004 at 04:14:27PM +0100, Andreas Schwab wrote: > laurent.marzullo@one-d.com writes: > > > I would like to know if there's a way to know the call stack of a running > > process into the process itself ? > > Try the backtrace function from . > > Andreas. I think you can link to valgrind and it knows how to give backtrace's via a macro at any point in your code. Bob Rossi