[Top][All Lists]

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

Re: [Qemu-devel] Tracing guest memory accesses

From: maestro
Subject: Re: [Qemu-devel] Tracing guest memory accesses
Date: Mon, 18 Dec 2006 20:49:25 +0100

Am Montag, den 18.12.2006, 00:56 -0800 schrieb Diwaker Gupta:
> > as far as i remember i had to put the same code into softmmu_header.h to
> > get "correct" results.
> > i found it easiest to do this in the ld/st macros in these files (~6
> > places in code)
> This probably sounds stupid but whats the best way to get debug
> output? Due to the code generation magic qemu does, simply adding
> printfs doesn't seem to work well. In particular, all my attempts to
> add printfs to softmmu_header.h have resulted in broken builds. Are
> there any global macros I should be using?
hello Diwaker!

you can always call a function that is defined extern that uses fprintf
et. al. i doubt it's the prettiest way but at least it works.


reply via email to

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