ptrace problem on Ubuntu Sparc
Nikolay Igotti
Nikolay.Igotti at Sun.COM
Fri Sep 15 10:38:56 BST 2006
I found that ptrace(PTRACE_GETREGS) effectively doesn't work with
threaded programs on Ubuntu Sparc (same test works fine on x86, amd64).
Attached program shows that.
At least errno shows that it couldn't find tid, what's especially
strange considering it could attach to tid successfully.
To me looks like kernel bug.
Thanks,
Nikolay.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ptrace.c
Url: https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20060915/fc491b2b/attachment-0001.diff
More information about the ubuntu-devel
mailing list