Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Re: Process Stack Dump
  2000-05-25  4:00 Process Stack Dump U.V. Ravindra
@ 2000-05-25  4:00 ` Greg Lindahl
  2000-05-26  4:00   ` U.V. Ravindra
  0 siblings, 1 reply; 4+ messages in thread
From: Greg Lindahl @ 2000-05-25  4:00 UTC (permalink / raw)


U.V. Ravindra <uvr@usa.net> 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.

-- greg



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Process Stack Dump
@ 2000-05-25  4:00 U.V. Ravindra
  2000-05-25  4:00 ` Greg Lindahl
  0 siblings, 1 reply; 4+ messages in thread
From: U.V. Ravindra @ 2000-05-25  4:00 UTC (permalink / raw)





 Hi,

 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.

 ALL help will be appreciated.

 -UVR.

 P.S. What's the direction of stack growth on Linux Alpha -
 top-down or bottom-up?






Sent via Deja.com http://www.deja.com/
Before you buy.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Process Stack Dump
  2000-05-25  4:00 ` Greg Lindahl
@ 2000-05-26  4:00   ` U.V. Ravindra
  2000-05-26  4:00     ` Greg Lindahl
  0 siblings, 1 reply; 4+ messages in thread
From: U.V. Ravindra @ 2000-05-26  4:00 UTC (permalink / raw)


lindahl@pbm.com (Greg Lindahl) wrote:
> U.V. Ravindra <uvr@usa.net> 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.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Process Stack Dump
  2000-05-26  4:00   ` U.V. Ravindra
@ 2000-05-26  4:00     ` Greg Lindahl
  0 siblings, 0 replies; 4+ messages in thread
From: Greg Lindahl @ 2000-05-26  4:00 UTC (permalink / raw)


U.V. Ravindra <uvr@usa.net> writes:

> I actually need to dump "my process stack" into a file.

Mozilla does this somehow. gdb's "tty" command might be able to do it,
since the input in my suggestion comes from a file...

-- g




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-05-26  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-25  4:00 Process Stack Dump U.V. Ravindra
2000-05-25  4:00 ` Greg Lindahl
2000-05-26  4:00   ` U.V. Ravindra
2000-05-26  4:00     ` Greg Lindahl

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