From 813da6277cf6325ee97e7b7724e1672053356f4c Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 19 Mar 2012 12:25:11 -0700 Subject: tcg: Use the GDB JIT debugging interface. This allows us to generate unwind info for the dynamicly generated code in the code_gen_buffer. Only i386 is converted at this point. Signed-off-by: Richard Henderson Signed-off-by: Blue Swirl --- exec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'exec.c') diff --git a/exec.c b/exec.c index 265e895603..6731ab8c4b 100644 --- a/exec.c +++ b/exec.c @@ -636,6 +636,7 @@ void tcg_exec_init(unsigned long tb_size) cpu_gen_init(); code_gen_alloc(tb_size); code_gen_ptr = code_gen_buffer; + tcg_register_jit(code_gen_buffer, code_gen_buffer_size); page_init(); #if !defined(CONFIG_USER_ONLY) || !defined(CONFIG_USE_GUEST_BASE) /* There's no guest base to take into account, so go ahead and -- cgit v1.2.1