> +             if (do_ptrace(PTRACE_GETEVENTMSG, tcp, NULL, &childpid) < 0) {
> +                     if (errno != ESRCH) {
> +                             cleanup();
> +                             exit(1);

This should report the ptrace failure details before it bails out.


Thanks,
Roland

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to