Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!rice!sun-spots-request From: paulm@Solbourne.COM (Paul Maybee) Newsgroups: comp.sys.sun Subject: Re: ptrace(2) on Sun 4 Keywords: Miscellaneous Message-ID: <2282@brazos.Rice.edu> Date: 16 Oct 89 17:27:11 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 10 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 167, message 5 of 17 >(There is already a structure called rwindow defined in reg.h, but there >is no mention of this in the ptrace manual page. Also, gdb declares a >structure (local_and_ins) as rwindow in sparc-dep.c, but doesn't seem to >use it anywhere) The top of the stack contains the current ins and outs in structure rwindow. If you read this using PTRACE PEEKDATA or READDATA you should have all the regsiters for the outermost stack frame. -paul maybee