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

2014-03-12 Thread alex . bennee
From: Alex Bennée alex.ben...@linaro.org There are times the tcg aborts with a fatal but terse error which isn't overly helpful. This adds an alternative macro that can be used to show a little more helper information when an abort occurs. diff --git a/tcg/i386/tcg-target.c

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

2014-03-12 Thread alex . bennee
From: Alex Bennée alex.ben...@linaro.org There are times the tcg aborts with a fatal but terse error which isn't overly helpful. This adds an alternative macro that can be used to show a little more helper information when an abort occurs. diff --git a/tcg/i386/tcg-target.c

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

2014-03-12 Thread Peter Maydell
On 12 March 2014 14:12, alex.ben...@linaro.org wrote: From: Alex Bennée alex.ben...@linaro.org There are times the tcg aborts with a fatal but terse error which isn't overly helpful. This adds an alternative macro that can be used to show a little more helper information when an abort

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

2014-03-12 Thread Richard Henderson
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