Re: [Qemu-devel] Singlestepping & Target assembly instructions

2012-10-16 Thread Richard Henderson
On 2012-10-17 06:17, Laurent Desnogues wrote: > If I remember correctly, that only works if block chaining is disabled. Which it will be with -singlestep. r~

Re: [Qemu-devel] Singlestepping & Target assembly instructions

2012-10-16 Thread Laurent Desnogues
On Tue, Oct 16, 2012 at 9:07 PM, Richard Henderson wrote: > On 2012-10-16 20:49, Emmanuel Blot wrote: >> Is there any way to force QEmu to disable the TB cache so that the >> translation occurs each time a target instruction is loaded, or a >> clever way to print out the address of each executed t

Re: [Qemu-devel] Singlestepping & Target assembly instructions

2012-10-16 Thread Richard Henderson
On 2012-10-16 20:49, Emmanuel Blot wrote: > Is there any way to force QEmu to disable the TB cache so that the > translation occurs each time a target instruction is loaded, or a > clever way to print out the address of each executed target instruction ? "-d exec" prints the entry point of each TB

[Qemu-devel] Singlestepping & Target assembly instructions

2012-10-16 Thread Emmanuel Blot
Hi, I'm using QEmu to debug an ARM target (OS-less code). I searched/googled for help on how to trace all instructions executed on the target CPU. Using -singlestep and -d in_asm option switches generate the data I'm looking for, however as the translation blocks are cached, the instructions are