[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: Missing singlestep for already-translated code?
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] Re: Missing singlestep for already-translated code? |
Date: |
Tue, 13 Apr 2010 16:10:21 +0200 |
On 13.04.2010, at 15:36, Jan Kiszka wrote:
> Jun Koi wrote:
>> Hi,
>>
>> I am looking into the singlestep command in monitor interface, and it
>> seems that we only take into account the singlestep flag when we are
>> translating code.
>> So for the already-translated code, we will miss singlestep?
>
> This feature is broken. For TCG, it should at least flush the
> translation buffer, and for KVM it has to enable single-stepping in the
> kernel. That's what happens automatically when you call cpu_single_step.
> I guess 'singlestep' wants to be somehow orthogonal to this. But this is
> the wrong approach.
>
> Does anyone actually used this feature or still does so? It looks fairly
> redundant to me, kind of a poor-man's gdb front-end as part of the
> monitor console.
Not sure what it does, but I use -singlestep quite a lot to get register dumps
for instructions when using -d cpu.
Alex
- [Qemu-devel] Missing singlestep for already-translated code?, Jun Koi, 2010/04/13
- [Qemu-devel] Re: Missing singlestep for already-translated code?, takasi-y, 2010/04/13
- [Qemu-devel] Re: Missing singlestep for already-translated code?, Jan Kiszka, 2010/04/13
- Re: [Qemu-devel] Re: Missing singlestep for already-translated code?,
Alexander Graf <=
- Re: [Qemu-devel] Re: Missing singlestep for already-translated code?, Jan Kiszka, 2010/04/13
- Re: [Qemu-devel] Re: Missing singlestep for already-translated code?, Jun Koi, 2010/04/15
- Re: [Qemu-devel] Re: Missing singlestep for already-translated code?, Jan Kiszka, 2010/04/15
- Re: [Qemu-devel] Re: Missing singlestep for already-translated code?, Aurelien Jarno, 2010/04/15
- Re: [Qemu-devel] Re: Missing singlestep for already-translated code?, Jan Kiszka, 2010/04/15
- Re: [Qemu-devel] Re: Missing singlestep for already-translated code?, Aurelien Jarno, 2010/04/15