Linux Archive

Linux Archive (
-   Debian Development (
-   -   Walking Stack chain from SEGV handler (

"Ken Kahn" 09-03-2008 05:41 PM

Walking Stack chain from SEGV handler
I've created a SIGSEGV handler using sigaction specifying the SA_SIGINFO
flag. Does anyone have, or can point me to, an example of how to use
the passed UCONTEXT structure to obtain the failing instruction and the
current stack call chain? This is for RHEL WS v4.

Kenneth Kahn
Senior Member of Consulting Staff
CVA R&D Hardware Emulation
Cadence Design Systems
Lake Katrine, NY

Redhat-devel-list mailing list

All times are GMT. The time now is 06:54 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.