Path: utzoo!attcan!uunet!cs.utexas.edu!wuarchive!psuvax1!psuvm!psuecl!e2b From: e2b@psuecl.bitnet Newsgroups: comp.unix.internals,psu.sun Subject: SUN 4 profiler Message-ID: <1990Nov5.144241.158@psuecl.bitnet> Date: 5 Nov 90 18:42:41 GMT Organization: Engineering Computer Lab, Pennsylvania State University Lines: 11 I am having a problem writing a dynamic profiler for the SUN 4. I spawn a child process and overlay it with an existing program using the execl command. The SUN 4 does not have the necessary hardware to implement the single step command of the ptrace system call. When ptrace(SINGLE_STEP,...) is executed an I/O error is returned. If anyone knows how to dynamically single step through a program using ptrace or any other way, I would greatly appreciate you letting me know. I can be reached at E2B@PSUECL.bitnet, or please post a solution to this newsgroup. Eric Bass