[Qemu-devel] Singlestepping does not work

2012-06-06 Thread Wacha Gábor
Dear developers, I have created a vmstate change handler, which logs RUN_STATE_DEBUG states, which is (as far as I know) used when one singlesteps the processor. Apparently this handler is not called, not even when I run qemu-system-microblaze with the -singlestep option. What am I missing? Regar

Re: [Qemu-devel] API for single stepping an emulated CPU

2012-05-03 Thread Wacha Gábor
Yes, it seemed to be a good choice to look into, thank you. But my problem is: As I've seen, the single step mode generates a debug exception (EXCL_DEBUG) after every iteration of the main loop, which will make a change in the vm state. I can register a vm change state handler in my peripheral and

[Qemu-devel] API for single stepping an emulated CPU

2012-05-02 Thread Wacha Gábor
Dear developers, I am designing a virtual peripheral for Qemu, for which I need to single step through the program on the emulated CPU (my peripheral will be some kind of a debugger). My question is: is there an API to execute exactly one instruction in Qemu? I've already found the *_pause and *_r

Re: [Qemu-devel] Generating cachegrind output with qemu

2012-04-24 Thread Wacha Gábor
Dear Stefan, Thanks for your quick answer, I'll look into it. Regards, Gabor Wacha 2012.04.24. 6:33, "Stefan Weil" ezt írta: > Am 23.04.2012 18:18, schrieb Wacha Gábor: > >> Dear developers, I am a Hungarian student trying to use qemu for >> profiling bare

[Qemu-devel] Generating cachegrind output with qemu

2012-04-23 Thread Wacha Gábor
Dear developers, I am a Hungarian student trying to use qemu for profiling bare metal ARM programs for my student research. On the following page, it is mentioned that one can generate cachegrind output with qemu: http://www.monstr.eu/wiki/doku.php?id=qemu:qemu#run_with_cachegrind Unfortunately