Walking Stack chain from SEGV handler
"Ken Kahn" <[email protected]> Wed, 3 Sep 2008 13:41:54 -0400
| Newsgroups | gmane.linux.redhat.devel |
|---|---|
| Message-ID | <2315F4A3362D0045AA06DFA9999664EC048EABC2@MAILNA1.global.cadence.com> |
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 [email protected]