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 /elf.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 'elf.h')
-rw-r--r-- | elf.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -216,6 +216,7 @@ typedef int64_t Elf64_Sxword; #define ELF_ST_BIND(x) ((x) >> 4) #define ELF_ST_TYPE(x) (((unsigned int) x) & 0xf) +#define ELF_ST_INFO(bind, type) (((bind) << 4) | ((type) & 0xf)) #define ELF32_ST_BIND(x) ELF_ST_BIND(x) #define ELF32_ST_TYPE(x) ELF_ST_TYPE(x) #define ELF64_ST_BIND(x) ELF_ST_BIND(x) |