This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: stacktrace from withn an exec upon error condition
- From: Christopher Faylor <cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 2 Apr 2002 10:40:47 -0500
- Subject: Re: stacktrace from withn an exec upon error condition
- References: <20020328153930.GF11781@redhat.com> <a7vgnr$b9q$1@main.gmane.org> <20020328221751.GK16757@redhat.com> <a807fm$5fd$1@main.gmane.org> <5.1.0.14.2.20020328161017.0274f2c8@pop3.cris.com> <20020329010609.GB19845@redhat.com> <a80nml$i6j$1@main.gmane.org> <20020329040532.GA22205@redhat.com> <a81u75$d54$1@main.gmane.org> <3CA9B414.89D685ED@cern.ch>
- Reply-to: cygwin at cygwin dot com
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/