From owner-freebsd-questions Thu Mar 29 13:40:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mirapoint.inter.net.il (mirapoint.inter.net.il [192.114.186.20]) by hub.freebsd.org (Postfix) with ESMTP id 4AB5737B71D for ; Thu, 29 Mar 2001 13:40:47 -0800 (PST) (envelope-from danl@cwnt.com) Received: from cwnt.com ([192.116.246.129]) by mirapoint.inter.net.il (Mirapoint) with ESMTP id AMQ36484; Wed, 28 Mar 2001 09:31:53 +0200 (IST) Received: from danl1 ([192.168.0.234]) by cwnt.com with Microsoft SMTPSVC(5.0.2195.1600); Wed, 28 Mar 2001 09:27:41 +0200 Reply-To: From: "Danny Loeb" To: Subject: stack trace Date: Wed, 28 Mar 2001 09:30:26 +0200 Message-ID: <019001c0b758$f5c8da80$ea00a8c0@danl1> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-OriginalArrivalTime: 28 Mar 2001 07:27:41.0063 (UTC) FILETIME=[92953170:01C0B758] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am trying to find a piece of sample code which traverses the stack frames and collects the symbols which associate with each return address - namely a piece of code which programmatically generates an output similar to gdb's backtrace (where). At a glance, the work of looking into gdb sources may be tedious. My system specifications are: freebsd 4.2 on an i386 machine. Any help would be greatly appreciated ! Please add my e-mail danl@cwnt.com as a direct recipient for a response as I am not a member of this alias. Thanks Danny Loeb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message