Re: [Qemu-devel] [PATCH v5 1/9] tcg: pass down TranslationBlock to tcg_code_gen

2016-02-10 Thread Alex Bennée
Richard Henderson writes: > On 02/05/2016 01:56 AM, Alex Bennée wrote: >> diff --git a/translate-all.c b/translate-all.c >> index ab61fac..dce00d5 100644 >> --- a/translate-all.c >> +++ b/translate-all.c >> @@ -1055,7 +1055,6 @@ TranslationBlock *tb_gen_code(CPUState *cpu, >>

Re: [Qemu-devel] [PATCH v5 1/9] tcg: pass down TranslationBlock to tcg_code_gen

2016-02-04 Thread Richard Henderson
On 02/05/2016 01:56 AM, Alex Bennée wrote: diff --git a/translate-all.c b/translate-all.c index ab61fac..dce00d5 100644 --- a/translate-all.c +++ b/translate-all.c @@ -1055,7 +1055,6 @@ TranslationBlock *tb_gen_code(CPUState *cpu, TranslationBlock *tb; tb_page_addr_t phys_pc,

[Qemu-devel] [PATCH v5 1/9] tcg: pass down TranslationBlock to tcg_code_gen

2016-02-04 Thread Alex Bennée
My later debugging patches need access to the origin PC which is held in the TranslationBlock structure. Pass down the whole structure as it also holds the information about the code start point. Signed-off-by: Alex Bennée --- v1 - checkpatch fixes v5 - much simplified