qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3] Use the GDB JIT interface
@ 2012-03-20 18:18 Richard Henderson
  2012-03-20 18:18 ` [Qemu-devel] [PATCH] tcg: Use the GDB JIT debugging interface Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Henderson @ 2012-03-20 18:18 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-20 18:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-20 18:18 [Qemu-devel] [PATCH v3] Use the GDB JIT interface Richard Henderson
2012-03-20 18:18 ` [Qemu-devel] [PATCH] tcg: Use the GDB JIT debugging interface Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).