strace on irix 6.5
Rainer M. Canavan
strace at canavan.de
Mon Nov 10 20:10:15 UTC 2008
"Dmitry V. Levin" <ldv at altlinux.org> wrote:
>
> I'm not sure that such a place exists.
> The decode_open() function was made from sys_open() just to reuse the code
> common for sys_open and sys_openat.
I'm quite certain that fixing all the decode_... functions
is not the right way to get strace to work properly again.
It's probably way too late in the process. I'd think that
either struct tcb, some of its members or the function
that fills it needs to be modified to shift all parameters
by one and get rid of the unneccesary 0 in the parameter
list. To illustrate the problem, here's a small sample
of strace output (with open fixed and read() partially
fixed):
open("/usr/lib/locale/en_US/LC_NUMERIC", O_RDONLY) = 3
read(3, NULL, 2592) = 2
close(0) = 0
BSD_getime(0) = 0
ioctl(0, 0x1, 0) = 0
syssgi(SGI_SYSCONF, 0, 0x19, 0, 0x8) = 0
ioctl(0, 0x1, 0) = 0
brk(0) = 0
lxstat(0, 0x2, NULL) = 0
thanks,
rainer
More information about the Strace-devel
mailing list