Debugger on Solaris
Waldek Hebisch
hebisch at math.uni.wroc.pl
Mon Jan 7 15:43:37 CST 2002
Patric sed a trace:
open("/proc/11664", O_RDWR) = 3
ioctl(3, PIOCSTATUS, 0x081811E0) = 0
ioctl(3, PIOCOPENLWP, 0x080476C8) = 4
ioctl(4, PIOCSET, 0x080476C4) = 0
close(3) = 0
ioctl(4, PIOCGTRACE, 0x0818163C) = 0
ioctl(4, PIOCGHOLD, 0x08181614) = 0
ioctl(4, PIOCGFAULT, 0x08181628) = 0
....
That looks pretty clear. However manual in Solaris 2.6 says
that one should open /proc/pid/ctl for writing and
specifyes messages to perform debug actions. Manual also
suggests that ptrace is a library function working with
proc filesystem so the only question is wether to use
ioctl on /proc/pid or write to /proc/pid/ctl.
--
Waldek Hebisch
hebisch at math.uni.wroc.pl or hebisch at hera.math.uni.wroc.pl
More information about the wine-devel
mailing list