qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RCF PATCH 1/2] tcg: add tcg_abort_dbg() for additional


From: Richard Henderson
Subject: Re: [Qemu-devel] [RCF PATCH 1/2] tcg: add tcg_abort_dbg() for additional debug info
Date: Wed, 12 Mar 2014 08:05:04 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 03/12/2014 08:02 AM, Peter Maydell wrote:
> This is the wrong place to be diagnosing this. We should be (when
> TCG debug is enabled) checking the condition when the tcg_gen_setcond
> or tcg_set_brcond function is called, so that you get a useful backtrace
> that points directly at the buggy frontend code. I suspect the other
> two cases are similar.

Indeed.  See the asserts in tcg_gen_deposit_i32 for example.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]