Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!rice!sun-spots-request From: synaptx!!glenn@uunet.uu.net (Glenn Gribble) Newsgroups: comp.sys.sun Subject: Stack traceback code wanted (sun3/s Keywords: Source Message-ID: <1990Oct7.233434.6148@rice.edu> Date: 7 Oct 90 21:30:00 GMT Sender: sun-spots-request@rice.edu Organization: Sun-Spots Lines: 13 Approved: Sun-Spots@rice.edu Originator: spots@walhalla.rice.edu X-Sun-Spots-Digest: Volume 9, Issue 316, message 29 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