From: Richard Henderson <rth@twiddle.net>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org
Subject: [Qemu-devel] [PATCH v3] Use the GDB JIT interface
Date: Tue, 20 Mar 2012 11:18:41 -0700 [thread overview]
Message-ID: <1332267522-22252-1-git-send-email-rth@twiddle.net> (raw)
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
next reply other threads:[~2012-03-20 18:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-20 18:18 Richard Henderson [this message]
2012-03-20 18:18 ` [Qemu-devel] [PATCH] tcg: Use the GDB JIT debugging interface Richard Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1332267522-22252-1-git-send-email-rth@twiddle.net \
--to=rth@twiddle.net \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).