qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RCF PATCH 0/2] Improving TCG debug output


From: alex . bennee
Subject: [Qemu-devel] [RCF PATCH 0/2] Improving TCG debug output
Date: Wed, 12 Mar 2014 13:49:58 +0000

From: Alex Bennée <address@hidden>

Hi,

These two patches have been sitting in my personal tree for a while
and I thought it was worth soliciting feedback as to their wider usefulness.

The first is simply an attempt to make tcg abort failures a little
less terse.

The second I found useful when I was debugging a complex set of TCG
ops for a round, shift and narrow implementation. The alternative was
to set up GDB and step through the generated target code (or just
infer from the copious dumps). The macro magic might be a bit much though.

Alex Bennée (2):
  tcg: add tcg_abort_dbg() for additional debug info
  tcg: add debug helpers tcg_debug_dump_i(32|64)

 Makefile.target       |  2 +-
 target-arm/helper.h   |  2 ++
 tcg/i386/tcg-target.c |  4 ++--
 tcg/optimize.c        |  2 +-
 tcg/tcg-helpers.c     | 32 +++++++++++++++++++++++++++++
 tcg/tcg-helpers.h     | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++
 tcg/tcg.h             |  7 +++++--
 7 files changed, 100 insertions(+), 6 deletions(-)
 create mode 100644 tcg/tcg-helpers.c
 create mode 100644 tcg/tcg-helpers.h

-- 
1.9.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]