From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7OYZ-0006ib-Hp for qemu-devel@nongnu.org; Fri, 11 Dec 2015 09:20:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a7OYW-0002ZA-Bq for qemu-devel@nongnu.org; Fri, 11 Dec 2015 09:20:23 -0500 Received: from mail-lf0-x22e.google.com ([2a00:1450:4010:c07::22e]:33076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7OYW-0002Z4-4b for qemu-devel@nongnu.org; Fri, 11 Dec 2015 09:20:20 -0500 Received: by lfap203 with SMTP id p203so11827754lfa.0 for ; Fri, 11 Dec 2015 06:20:19 -0800 (PST) References: From: Sergey Fedorov Message-ID: <566ADBA1.8060106@gmail.com> Date: Fri, 11 Dec 2015 17:20:17 +0300 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] How does TCG gen host code for a TB? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Valer=c3=b3n_JC?= , "qemu-devel@nongnu.org" On 11.12.2015 06:43, ValerĂ³n JC wrote: > I want to trace a bug in tcg, which for me, at some point, generate > infinite loop TB chains, that's unexpected. and I've found the final > TB(head, since they're chaining) which run in an infinite loop, and I > know a very weird trick to 'disable' this bug, so I would like to > track the tcg-ops for the TB, hope that I can figure what's wrong. Hi, You may find it useful to enable logging of TCG ops generated with '-d op', as well as input and output assembly with '-d in_asm,out_asm'. '-D ' could be useful to output log to a file. Here are references to documentation: http://qemu.weilnetz.de/qemu-doc.html#index-_002dd and http://qemu.weilnetz.de/qemu-doc.html#index-_002dD. Best, Sergey