summaryrefslogtreecommitdiff
path: root/tcg/tcg.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2012-03-19 12:25:11 -0700
committerBlue Swirl <blauwirbel@gmail.com>2012-03-24 13:07:48 +0000
commit813da6277cf6325ee97e7b7724e1672053356f4c (patch)
treed69fd4020e16b119d00cfcf43b84fa93fb92df76 /tcg/tcg.h
parent08c4ea294f38fa90c7e91d7402091ff8332bc65e (diff)
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 <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r--tcg/tcg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcg/tcg.h b/tcg/tcg.h
index 5f6c647ea5..a83bdddba4 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -586,3 +586,5 @@ extern uint8_t code_gen_prologue[];
# define tcg_qemu_tb_exec(env, tb_ptr) \
((tcg_target_ulong (*)(void *, void *))code_gen_prologue)(env, tb_ptr)
#endif
+
+void tcg_register_jit(void *buf, size_t buf_size);