diff options
author | Richard Henderson <rth@twiddle.net> | 2012-03-19 12:25:11 -0700 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-03-24 13:07:48 +0000 |
commit | 813da6277cf6325ee97e7b7724e1672053356f4c (patch) | |
tree | d69fd4020e16b119d00cfcf43b84fa93fb92df76 /tcg/tcg.h | |
parent | 08c4ea294f38fa90c7e91d7402091ff8332bc65e (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |