comp.lang.ada
 help / color / mirror / Atom feed
From: fjh@mundook.cs.mu.OZ.AU (Fergus Henderson)
Subject: Re: Plea for help
Date: 1997/01/27
Date: 1997-01-27T00:00:00+00:00	[thread overview]
Message-ID: <5cidom$lal@mulga.cs.mu.OZ.AU> (raw)
In-Reply-To: 9701231552.AA07941@most


"W. Wesley Groleau (Wes)" <wwgrol@PSESERV3.FW.HAC.COM> writes:

>I'm looking for C or Ada code to give the addresses of all
>the stack frames above its call site, on SPARC/Solaris,
>Pentium/SCO Unix and/or PowerMac/MachTen.

One relatively portable approach is to fork(), in the child call
abort() to dump core, and in the parent invoke a debugger on the core
file to get a stack trace.

--
Fergus Henderson <fjh@cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3         |     -- the last words of T. S. Garp.




      parent reply	other threads:[~1997-01-27  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9701231552.AA07941@most>
1997-01-26  0:00 ` Plea for help Corey Minyard
1997-01-27  0:00   ` Richard Kenner
1997-01-27  0:00 ` Fergus Henderson [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox