Received: from eggs.gnu.org ([140.186.70.92]:44041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvRJl-00017D-Hv for qemu-devel@nongnu.org; Thu, 09 Feb 2012 05:33:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvRJf-0005EE-Ir for qemu-devel@nongnu.org; Thu, 09 Feb 2012 05:33:33 -0500 Received: from csmailer.cs.nctu.edu.tw ([140.113.235.130]:35173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvRJe-0005Cg-T2 for qemu-devel@nongnu.org; Thu, 09 Feb 2012 05:33:27 -0500 Received: from csmailer.cs.nctu.edu.tw (localhost [127.0.0.1]) by csmailer.cs.nctu.edu.tw (Postfix) with ESMTP id 84FABE4E for ; Thu, 9 Feb 2012 18:30:00 +0800 (CST) Received: from alumni.cs.nctu.edu.tw (alumni.cs.nctu.edu.tw [140.113.235.116]) by csmailer.cs.nctu.edu.tw (Postfix) with ESMTP id 68A42E4D for ; Thu, 9 Feb 2012 18:30:00 +0800 (CST) Received: (from chenwj@localhost) by alumni.cs.nctu.edu.tw (8.14.4/8.14.4/Submit) id q19AXGWR097112 for qemu-devel@nongnu.org; Thu, 9 Feb 2012 18:33:16 +0800 (CST) (envelope-from chenwj) Date: Thu, 9 Feb 2012 18:33:16 +0800 From: =?utf-8?B?6Zmz6Z+L5Lu7?= Message-ID: <20120209103316.GA94562@cs.nctu.edu.tw> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] How to follow a child process created in the guest OS? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi all, The question is not so related to QEMU itself, but I want to give it a = try. I am running a tiny OS on QEMU and debugging it with gdbstub. The tiny OS= will fork process 1, 2, ... and so on. I want to follow the child process, but= the GDB command `set follow-fork-mode child` doesn't work. This seems to be a= bug or missing feature in GDB remote protocol. [1] Is there a way to do what I'm trying to do? Thanks! Regards, chenwj [1] http://sourceware.org/bugzilla/show_bug.cgi?id=3D13584 --=20 Wei-Ren Chen (=E9=99=B3=E9=9F=8B=E4=BB=BB) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj