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

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

2012-05-02 Thread 陳韋任
> 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 *_resume func

[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