Stack traceback code wanted (sun3/s

Glenn Gribble synaptx!!glenn at uunet.uu.net
Mon Oct 8 07:30:00 AEST 1990


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



More information about the Comp.sys.sun mailing list