From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,9918dda1b67b3804,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-01-16 07:42:03 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: vperic@my-deja.com Newsgroups: comp.unix.tru64 Subject: stack trace function Date: Tue, 16 Jan 2001 15:26:08 GMT Organization: Deja.com Message-ID: <941p64$om6$1@nnrp1.deja.com> NNTP-Posting-Host: 63.100.45.66 X-Article-Creation-Date: Tue Jan 16 15:26:08 2001 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT) X-Http-Proxy: 1.0 BOCAPROXY, 1.0 x60.deja.com:80 (Squid/1.1.22) for client 63.100.45.66 X-MyDeja-Info: XMYDJUIDvperic Xref: supernews.google.com comp.unix.tru64:1480 This is well known question but I still did not see any post to Tru64 news group. Is there any way to get stack trace from inside the code, but without using external tools like attaching with debuggers?. What I really need is to catch SIGSEGV, SIGBUS, SIGILL and then to generate stack trace from inside the signal handler procedure. The best example is undocumented U_STACK_TRACE() function, but available only for HPUX. Thanks, Vlad Sent via Deja.com http://www.deja.com/