Date: Wed, 30 Jun 2004 23:14:25 GMT From: David Xu <davidxu@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 56173 for review Message-ID: <200406302314.i5UNEPSw055656@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=56173 Change 56173 by davidxu@davidxu_alona on 2004/06/30 23:13:34 Use ptrace Affected files ... .. //depot/projects/davidxu_ksedbg/src/lib/libthread_db/pthread/pthread_db.c#2 edit Differences ... ==== //depot/projects/davidxu_ksedbg/src/lib/libthread_db/pthread/pthread_db.c#2 (text+ko) ==== @@ -229,8 +229,7 @@ return (P2T(ret)); } /* check lwp */ - ret = ttrace(PT_GETREGS, ps_getpid(ta->ph), - ta->map[id].lwp, (caddr_t)&gregs, 0); + ret = ptrace(PT_GETREGS, ta->map[id].lwp, (caddr_t)&gregs, 0); if (ret != 0) { /* no longer exists */ ta->map[id].type = PT_NONE;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406302314.i5UNEPSw055656>