From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,7a5ce1d2507312b5 X-Google-Attributes: gid111c93,public From: U.V. Ravindra Subject: Re: Process Stack Dump Date: 2000/05/26 Message-ID: <8gmh7r$jbe$1@nnrp1.deja.com>#1/1 X-Deja-AN: 627682496 References: <8gk9q0$4r$1@nnrp1.deja.com> <8gke8g020lm@news2.newsguy.com> X-Http-Proxy: 1.0 x52.deja.com:80 (Squid/1.1.22) for client 192.147.112.2 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Fri May 26 18:53:55 2000 GMT X-MyDeja-Info: XMYDJUIDu_v_ravindra Newsgroups: comp.os.linux.alpha X-Http-User-Agent: Mozilla/4.73 [en] (X11; U; SunOS 5.7 sun4u) lindahl@pbm.com (Greg Lindahl) wrote: > U.V. Ravindra writes: > > > I need help writing a [set of] routine[s] that will help > > me get a stack dump of my Alpha Linux program in the event > > of, say, the process getting a SEGV. > > GDB can do this pretty easily. > > Check out "hook-stop" in the manual, and the -x command line argument. I actually need to dump "my process stack" into a file. What I am developing will be used by users both inside and outside my organization; the stack dump is intended to help support guys (after the fact) figure out (and, hopefully, fix) what went wrong. Ravindra. > -- greg > Sent via Deja.com http://www.deja.com/ Before you buy.