Date: Sat, 16 Jan 2010 21:12:34 +0200 From: Ali Polatel <alip@exherbo.org> To: freebsd-questions@freebsd.org Subject: Re: A question about ptrace Message-ID: <20100116191234.GC11414@harikalardiyari> In-Reply-To: <20100116110254.GA6142@harikalardiyari> References: <20100116110254.GA6142@harikalardiyari>
next in thread | previous in thread | raw e-mail | index | archive | help
--LwW0XdcUbUexiWVK Content-Type: text/plain; charset=iso-8859-9 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ali Polatel yazm=FD=FE: > I'm trying to port a program using ptrace from Linux to FreeBSD. <snip> Answering myself after some more reading and trying... > assert(0 =3D=3D ptrace(PT_TO_SCE, pid, 0, 0)); The third argument of this call should be 1 not 0. --=20 Regards, Ali Polatel --LwW0XdcUbUexiWVK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEABECAAYFAktSD6IACgkQQU4yORhF8iDkkACbBscI45N3XRJHZaBVbyFe8L9T QCUAniAeu5+V29PjhWRSzHqg2XX9mAJu =nfq6 -----END PGP SIGNATURE----- --LwW0XdcUbUexiWVK--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100116191234.GC11414>