Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Development (http://www.linux-archive.org/debian-development/)
-   -   Walking Stack chain from SEGV handler (http://www.linux-archive.org/debian-development/153583-walking-stack-chain-segv-handler.html)

"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
kenkahn@cadence.com


_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/redhat-devel-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.