From: utzoo!decvax!ucbvax!CAD:tektronix!zehntel!zinfandel!mark Newsgroups: net.unix-wizards Title: Re: call trace - (nf) Article-I.D.: zehntel.750 Posted: Sat Feb 12 01:22:57 1983 Received: Wed Feb 16 06:36:51 1983 #R:duke:-296800:zinfandel:12400016:000:791 zinfandel!mark Feb 10 13:44:00 1983 Call trace: yes, there's another way (on PDP-11s and similar machines). Without going into details, if your compiler generates calls to register save/restore routines (C on 11s does this, so F77 must also), then you re-write those routines (in assembler) to print out names, parameters, return values, etc -- at Ames we had a package that would do all of that to a file (and truncate it periodically -- it gets HUGE fast). Be careful -- linking of the trace package is odd, because you must ensure that any C/F77 routines you call to do the io, etc, link to the OLD csav/cret, not the new one. Some judicious patching of the symbol table of the final object file is helpful. Linking of the program with the trace package is straightforward. Mark Wittenberg ...!decvax!sytek!zehntel!mark