From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KiCcX-0004SA-Mz for qemu-devel@nongnu.org; Tue, 23 Sep 2008 14:28:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KiCcW-0004QR-5A for qemu-devel@nongnu.org; Tue, 23 Sep 2008 14:28:21 -0400 Received: from [199.232.76.173] (port=43318 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KiCcV-0004QG-SZ for qemu-devel@nongnu.org; Tue, 23 Sep 2008 14:28:19 -0400 Received: from ug-out-1314.google.com ([66.249.92.173]:26175) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KiCcV-0006Sj-ER for qemu-devel@nongnu.org; Tue, 23 Sep 2008 14:28:19 -0400 Received: by ug-out-1314.google.com with SMTP id j3so1724218ugf.36 for ; Tue, 23 Sep 2008 11:28:16 -0700 (PDT) Date: Tue, 23 Sep 2008 21:29:07 +0300 From: "Kirill A. Shutemov" Subject: Re: [Qemu-devel] Regarding PTRACE implementation in QEMU user mode Message-ID: <20080923182906.GB11804@localhost.localdomain> References: <30687.26589.qm@web94802.mail.in2.yahoo.com> <200809231512.40813.paul@codesourcery.com> <200809231520.51803.paul@codesourcery.com> <20080923150236.GA10595@shareable.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="U+BazGySraz5kW0T" Content-Disposition: inline In-Reply-To: <20080923150236.GA10595@shareable.org> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: sathish kumar , rajesh-siso --U+BazGySraz5kW0T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 23, 2008 at 04:02:37PM +0100, Jamie Lokier wrote: > Paul Brook wrote: > > On Tuesday 23 September 2008, Paul Brook wrote: > > > > Can someone explain why explain why ptrace system call is not imple= mented > > > > in QEMU? if someone is working on it, please share some ideas. > > > > > > Because it's extremely hard (read: nearly impossible) to implement > > > properly.=20 > >=20 > > I'll also note that the usual use of ptrace if for gdb/gdbserver. You s= hould=20 > > use the builtin qemu gdb stub instead. >=20 > The other usual use is strace, which seems like it would be useful for > user mode emulation. Set QEMU_STRACE environment variable. --=20 Regards, Kirill A. Shutemov + Belarus, Minsk + ALT Linux Team, http://www.altlinux.com/ --U+BazGySraz5kW0T Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkjZNXIACgkQbWYnhzC5v6q+TwCgj0HXGvj8V793A8xgaVyRuVe5 91AAmgLiU28glyptdDHiL6JQ+ZXPotGN =2vHu -----END PGP SIGNATURE----- --U+BazGySraz5kW0T--