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.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ptrace.c

More information about the ubuntu-devel mailing list