[comp.sys.sun] Stack traceback code wanted

glenn@uunet.uu.net (Glenn Gribble) (10/08/90)

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@synaptics.com 	uunet!synaptx!glenn