From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ki9PZ-0002JV-2o for qemu-devel@nongnu.org; Tue, 23 Sep 2008 11:02:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ki9PV-0002Dt-4z for qemu-devel@nongnu.org; Tue, 23 Sep 2008 11:02:44 -0400 Received: from [199.232.76.173] (port=49763 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ki9PV-0002Dk-0p for qemu-devel@nongnu.org; Tue, 23 Sep 2008 11:02:41 -0400 Received: from mail2.shareable.org ([80.68.89.115]:42361) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ki9PU-0007pJ-EV for qemu-devel@nongnu.org; Tue, 23 Sep 2008 11:02:40 -0400 Date: Tue, 23 Sep 2008 16:02:37 +0100 From: Jamie Lokier Subject: Re: [Qemu-devel] Regarding PTRACE implementation in QEMU user mode Message-ID: <20080923150236.GA10595@shareable.org> References: <30687.26589.qm@web94802.mail.in2.yahoo.com> <200809231512.40813.paul@codesourcery.com> <200809231520.51803.paul@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200809231520.51803.paul@codesourcery.com> 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 Paul Brook wrote: > On Tuesday 23 September 2008, Paul Brook wrote: > > > Can someone explain why explain why ptrace system call is not implemented > > > in QEMU? if someone is working on it, please share some ideas. > > > > Because it's extremely hard (read: nearly impossible) to implement > > properly. > > I'll also note that the usual use of ptrace if for gdb/gdbserver. You should > use the builtin qemu gdb stub instead. The other usual use is strace, which seems like it would be useful for user mode emulation. -- Jamie