qemu-devel
[Top][All Lists]
Advanced

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

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


From: 陳韋任
Subject: Re: [Qemu-devel] API for single stepping an emulated CPU
Date: Wed, 2 May 2012 16:52:07 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

> 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 functions, but they are -
> as far as I know - not applicable for my task.

  Just a quick reply. QEMU system mode provides "-singlestep" option. Maybe you
can start from there, see how the singlestep is done.

Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj



reply via email to

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