ptrace(2) on Sun 4

Paul Maybee paulm at Solbourne.COM
Tue Oct 17 03:27:11 AEST 1989


>(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



More information about the Comp.sys.sun mailing list