From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18630 invoked by alias); 3 Dec 2004 15:06:32 -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 18614 invoked from network); 3 Dec 2004 15:06:28 -0000 Received: from unknown (HELO mail68.ha.ovh.net) (213.186.33.51) by sourceware.org with SMTP; 3 Dec 2004 15:06:28 -0000 Received: (qmail 23152 invoked by uid 508); 3 Dec 2004 15:06:03 -0000 Received: from dhcp159-214.montrouge.eur.slb.com (dhcp159-214.montrouge.eur.slb.com [163.187.159.214]) by ssl0.ovh.net (IMP) with HTTP for ; Fri, 3 Dec 2004 16:06:03 +0100 Message-ID: <1102086363.41b080db92649@ssl0.ovh.net> Date: Fri, 03 Dec 2004 15:06:00 -0000 From: laurent.marzullo@one-d.com To: gdb@sources.redhat.com Subject: backtrace of the current process execution MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.6 X-Originating-IP: 163.187.159.214 X-SW-Source: 2004-12/txt/msg00018.txt.bz2 Hello, I would like to know if there's a way to know the call stack of a running process into the process itself ? I wrote a C++ program ... and when throwing exception, I would like to print the full call stack to std::cerr. Is there a way to do so with libgdb ? or any other lib ? Thanks a lot Laurent Marzullo