[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3] Use the GDB JIT interface
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH v3] Use the GDB JIT interface |
Date: |
Tue, 20 Mar 2012 11:18:41 -0700 |
Changes v2->v3:
* Generate a .debug_info section.
* Statically initialize most of the elf file.
This fixes the ?? case Peter Maydell found with the softmmu binaries:
#0 helper_set_cp15 (env=0x555556439770, insn=3993440154, val=0)
at /home/rth/work/qemu/qemu/target-arm/helper.c:1455
#1 0x000000004000118c in code_gen_buffer ()
#2 0x0000555555707632 in cpu_arm_exec (env=0x555556439770)
at /home/rth/work/qemu/qemu/cpu-exec.c:564
#3 0x0000555555708c3c in tcg_cpu_exec (env=0x555556439770)
at /home/rth/work/qemu/qemu/cpus.c:1022
#4 tcg_exec_all () at /home/rth/work/qemu/qemu/cpus.c:1054
#5 qemu_tcg_cpu_thread_fn (arg=<optimized out>)
at /home/rth/work/qemu/qemu/cpus.c:772
#6 0x00007ffff5b9ed90 in start_thread (arg=0x7fffec4a1700)
at pthread_create.c:309
#7 0x00007ffff49f8f5d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
r~
Richard Henderson (1):
tcg: Use the GDB JIT debugging interface.
elf.h | 1 +
exec.c | 1 +
tcg/i386/tcg-target.c | 114 +++++++++++++++++++--
tcg/tcg.c | 277 +++++++++++++++++++++++++++++++++++++++++++++++++
tcg/tcg.h | 2 +
5 files changed, 386 insertions(+), 9 deletions(-)
--
1.7.7.6
- [Qemu-devel] [PATCH v3] Use the GDB JIT interface,
Richard Henderson <=