qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Debug single program in QEMU


From: Yue Chen
Subject: Re: [Qemu-devel] Debug single program in QEMU
Date: Thu, 5 Apr 2012 21:17:00 -0400

Hi, thanks again for your reply.

It seems that, from the instruction log, we can find out "which instructions   belong to   which process(task)"  according to CR3 register.


2012/3/15 陳韋任 <address@hidden>
 O.K., then. You must specify which mode you're running, user mode or system
mode? User mode shouldn't have the issue you described. For system mode, I have
no good idea on how to track a specific program running on the guest OS.

On Thu, Mar 15, 2012 at 09:40:48AM -0400, Yue Chen wrote:
> But it is hard to localize a specific program instead of lots of logs.
> On Mar 15, 2012 4:14 AM, "陳韋任" <address@hidden> wrote:
>
> > On Thu, Mar 15, 2012 at 01:26:44PM +0700, Mulyadi Santosa wrote:
> > > On Thu, Mar 15, 2012 at 09:12, Yue Chen <address@hidden> wrote:
> > > > Hi!~
> > > >
> > > > Now I'd like to see what the micro-ops (intermediate operations
> > generated by
> > > > TCG) of a single Linux or Windows program, any approach to do this
> > under
> > > > QEMU? Thanks.
> > >
> > > are you referring to you Qemu system emulation or Qemu user mode?
> >
> >  Does that matter? I think "-d op" should be enough, right?

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]