Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 2 Apr 2002 10:40:47 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: stacktrace from withn an exec upon error condition Message-ID: <20020402154047.GF17969@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20020328153930 DOT GF11781 AT redhat DOT com> <20020328221751 DOT GK16757 AT redhat DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020328161017 DOT 0274f2c8 AT pop3 DOT cris DOT com> <20020329010609 DOT GB19845 AT redhat DOT com> <20020329040532 DOT GA22205 AT redhat DOT com> <3CA9B414 DOT 89D685ED AT cern DOT ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CA9B414.89D685ED@cern.ch> User-Agent: Mutt/1.3.23.1i On Tue, Apr 02, 2002 at 03:37:24PM +0200, Lassi A. Tuura wrote: >There's been code in MSJ (Microsoft Systems Journal) ages ago by Matt >Pietrek, in several articles. Do a google search for "Pietrek >stackwalk" for instance. > >http://iguana.cern.ch/lxr/source/IGUANA/src/Ig_Imports/classlib/src/debug.cxx#1099 >has stack trace code you can use on a large number of systems. The >library is GPL, drop me a mail if you want to use it. Coincidentally enough, the stack walking code in cygwin drew some inspiration from this. I haven't looked at it recently, but I really doubt that the code would deal with the stabs symbol table that gcc/gas/ld use and allow symbolic representation of symbols. The hints I gave in my previous email really are the best way to go on this. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/