In Solaris 2.x, a signal handler is passed a pointer to a ucontext_t(5)
structure which includes the stack of the thread where the signal was
received. This should be sufficient to "walk" up the stack and
examine each frame to find out which functions were called.
Is there a simple way of doing this walk when we only care to know which of
N known functions of the program have been called?
--
Nicolas Rouquette Artificial Intelligence Group
Phone: (818) 306-6196 4800 Oak Grove Dr.
Fax: (818) 306-6912 Pasadena, CA 91109