From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 8 20:04:42 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AC091065677 for ; Sat, 8 Mar 2008 20:04:42 +0000 (UTC) (envelope-from ota@j.email.ne.jp) Received: from mail.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by mx1.freebsd.org (Postfix) with ESMTP id 2C23F8FC1D for ; Sat, 8 Mar 2008 20:04:42 +0000 (UTC) (envelope-from ota@j.email.ne.jp) Received: from localhost (unknown [151.197.184.224]) by mail.asahi-net.or.jp (Postfix) with ESMTP id D2C055836B for ; Sun, 9 Mar 2008 04:45:13 +0900 (JST) Date: Sat, 8 Mar 2008 14:45:05 -0500 From: Yoshihiro Ota To: freebsd-hackers@freebsd.org Message-Id: <20080308144505.9c72e484.ota@j.email.ne.jp> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.8; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Remote Kernel Debugging over QEMU? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 20:04:42 -0000 Hello, folks, Has anyone tried to remote-debugging of a system running on Qemu? I thought if I could attach kgdb from Qemu host to a guest FreeBSD running on Qemu, it would be very helpful for many reasons, i.e. no hardware requirements, avoid fscking all disks, and so on. Has anyone ever attempted? I spent a half day but due to lack of remote debugging experience and some other knowledge, it wasn't successful. Thanks, Hiro