I am looking for some code to print out a stack trace from inside a
program for Sun3 and Sun4. Example use:
catchSigBus()
{
fprintf(stderr,"BUSERROR!\n");
printStackTrace();
longjmp(top_context, 1);
}
Any code that does something like this would be appreciated.
Glenn Gribble glenn at synaptics.com uunet!synaptx!glenn