From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrNnw-0003aC-SU for qemu-devel@nongnu.org; Fri, 13 Dec 2013 03:09:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VrNnr-0007Jl-Sl for qemu-devel@nongnu.org; Fri, 13 Dec 2013 03:09:00 -0500 Received: from mx1.redhat.com ([209.132.183.28]:21466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrNnr-0007Jh-KR for qemu-devel@nongnu.org; Fri, 13 Dec 2013 03:08:55 -0500 Message-ID: <52AAC088.4030004@redhat.com> Date: Fri, 13 Dec 2013 16:08:40 +0800 From: Fam Zheng MIME-Version: 1.0 References: <20131212133841.GC2485@stefanha-thinkpad.redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Debugging with printf List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mar Tsan , Stefan Hajnoczi Cc: qemu-devel@nongnu.org On 2013=E5=B9=B412=E6=9C=8813=E6=97=A5 15:47, Mar Tsan wrote: > I understand that they're not one and the same but there are > similarities. After all the Emulator is based on QEMU. How would someon= e > go about editing QEMU source to display messages? > There are also similarities in editing any C program to display message.=20 You didn't say what information you want from QEMU and you said you know=20 it's about adding printf's, then what's the problem you have there?=20 Please be specific about your question. If you want to know how to get=20 or build the source code, here are some instructions: http://wiki.qemu-project.org/Documentation/GettingStartedDevelopers Thanks, Fam