delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/28/22:40:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: "Hans Horn" <hannes AT 2horns DOT com>
Newsgroups: gmane.os.cygwin
Subject: Re: stacktrace from withn an exec upon error condition
Date: Thu, 28 Mar 2002 19:40:03 -0800
Lines: 37
Message-ID: <a80nml$i6j$1@main.gmane.org>
References: <a807fm$5fd$1 AT main DOT gmane DOT org> <a7v9eh$1ph$1 AT main DOT gmane DOT org> <20020328153930 DOT GF11781 AT redhat DOT com> <a7vgnr$b9q$1 AT main DOT gmane DOT org> <20020328221751 DOT GK16757 AT redhat DOT com> <a807fm$5fd$1 AT main DOT gmane DOT org> <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>
NNTP-Posting-Host: dsl-64-130-141-77.telocity.com
X-Trace: main.gmane.org 1017373206 18643 64.130.141.77 (29 Mar 2002 03:40:06 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Fri, 29 Mar 2002 03:40:06 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

Dear all,

I just tried Chris' little test and got: something like this:
Stack trace:
Frame     Function  Args
0022FE84  00401073  (00401244, 00000000, 0022FEA4, 00401063)
0022FE94  00401073  (610A0368, 00000001, 0022FEB4, 00401054)
0022FEA4  00401063  (000000D0, 00000000, 0022FF10, 61003F42)
0022FEB4  00401054  (00000001, 61564ED8, 0A010278, 00000000)
0022FF10  61003F42  (00000000, 00000000, 00001000, 00000001)
0022FF40  61004236  (00401044, 00001000, F7A11220, 00000000)
0022FF60  61004275  (00000000, 00000000, F7A113B0, 00000005)
0022FF90  004010C3  (00401044, FFFFFFFF, 80430D77, 00000000)
0022FFC0  0040103D  (00001000, 0022E7F8, 7FFDF000, 610A5C2C)
0022FFF0  77E8D326  (00401000, 00000000, 000000C8, 00000100)
End of stack trace


This however, is of little help (at least not  to me).

What I had in mind, though, was to get a list of the function names
(demangled of course) that were in the calling chain to where the error
occured. In human readable form to be useful.
Sorry if I hadn't made clear enough what I was looking for!

I do get this nice feature on AIX and, of course, par excellance with Java.

Does anybody have any experience with Win32 API's StackWalk() as Larry had
suggeted in an earlier response to my original posting? Perhaps with some
examples?

cheers,
Hans







--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019