From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43824) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAiU1-0007ZL-4m for qemu-devel@nongnu.org; Tue, 04 Feb 2014 11:04:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAiTS-0004K0-MQ for qemu-devel@nongnu.org; Tue, 04 Feb 2014 11:04:21 -0500 Received: from cantor2.suse.de ([195.135.220.15]:41663 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAi4P-0006mf-Uq for qemu-devel@nongnu.org; Tue, 04 Feb 2014 10:37:54 -0500 Message-ID: <52F1094E.8000109@suse.de> Date: Tue, 04 Feb 2014 16:37:50 +0100 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] QEMU-Based Android Emulator List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marinos Tsantekidis , qemu-devel@nongnu.org Hi, Am 03.02.2014 18:45, schrieb Marinos Tsantekidis: > Hi to all! I'm looking to extract some info from QEMU used by Android > Emulator. I want to add some printf s to the source code. How do I do > that? How do I recompile the source in order for the changes to take > effect? Please help!! Please see our Wiki for info on compiling QEMU: http://wiki.qemu.org/Documentation/GettingStartedDevelopers Adding printf()s to device emulation code is trivial and works like in any other C code. For instruction-level tracing it's less easy, you can only add printf()s during translation time, but not generally for execution tracing. If you want information specifically on the Android emulator, you'll have to ask elsewhere since we don't maintain that. Regards, Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg