Binary Compatibility Guide

ptrace

The optional addr2 argument to the SunOS 4.x ptrace system call is not supported. In addition, the following requests are not supported in the Solaris 8 release:

PTRACE_ATTACH /* 10, attach to an existing process */

PTRACE_DETACH /* 11, detach from a process */

PTRACE_GETREGS /* 12, get all registers */

PTRACE_SETREGS /* 13, set all registers */

PTRACE_GETFPREGS /* 14, get all floating point regs */

PTRACE_SETFPREGS /* 15, set all floating point regs */

PTRACE_READDATA /* 16, read data segment */

PTRACE_WRITEDATA /* 17, write data segment */

PTRACE_READTEXT /* 18, read text segment */

PTRACE_WRITETEXT /* 19, write text segment */

PTRACE_GETFPAREGS /* 20, get all fpa regs */

PTRACE_SETFPAREGS /* 21, set all fpa regs */

PTRACE_GETWINDOW /* 22, get register window n */

PTRACE_SETWINDOW /* 23, set register window n */

PTRACE_22 /* 22, filler */

PTRACE_23 /* 23, filler */

PTRACE_SYSCALL /* 24, trap next sys call */

PTRACE_DUMPCORE /* 25, dump process core */

PTRACE_SETWRBKPT /* 26, set write breakpoint */

PTRACE_SETACBKPT /* 27, set access breakpoint */

PTRACE_CLRDR7 /* 28, clear debug register 7 */

PTRACE_26 /* 26, filler */

PTRACE_27 /* 27, filler */

PTRACE_28 /* 28, filler */

PTRACE_GETUCODE /* 29, get u.u_code */