Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Rene Huber <rhuber@wavefront.nl>
Subject: getting a runtime stacktrace - how ?
Date: 1997/01/28	[thread overview]
Message-ID: <rene.854479979@pug> (raw)



Hi,

I'm looking for a way to examine the stack from within my C program, on
a DU3.2d system.

The idea is to print a stack trace in a log file whenever the program catches
a SIGSEGV.
I know you can do it in dbx, but the customer doesn't usually run under
dbx (or doesn't have the license)...and examining the core file is no option,
since the customer's cores cannot be read at our local system.
It seems that dbx heavily depends on shared libraries (libsecurity.so,
libc.so, etc.).

Is there any way to do something in / proc ?.

	RH.
-- 
#     Rene Huber - Software Engineer   \ /  Wave-Front B.V., The Netherlands #
#        Email: rene@wavefront.nl       \    PO box 3100, 7339 ZG Apeldoorn  #
#  Web: http://www.wavefront.nl/~rene  / \       Phone/Fax: +31 55 5760881   #



                 reply	other threads:[~1997-01-28  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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