qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Single stepping command line option? (was: [5910] target-pp


From: Stefan Weil
Subject: [Qemu-devel] Single stepping command line option? (was: [5910] target-ppc: convert SPR accesses to TCG)
Date: Sun, 07 Dec 2008 17:43:44 +0100
User-agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018)

Aurelien Jarno schrieb:
> On Sun, Dec 07, 2008 at 06:13:45PM +0200, Blue Swirl wrote:
>> On 12/7/08, Aurelien Jarno <address@hidden> wrote
>>> --- trunk/target-ppc/translate.c 2008-12-07 13:40:15 UTC (rev 5909)
>>> +++ trunk/target-ppc/translate.c 2008-12-07 13:40:29 UTC (rev 5910)
>>> @@ -38,7 +38,7 @@
>>> #define GDBSTUB_SINGLE_STEP 0x4
>>>
>>> /* Include definitions for instructions classes and implementations
>>> flags */
>>> -//#define DO_SINGLE_STEP
>>> +#define DO_SINGLE_STEP
>> Now every instruction is single stepped.
>>
>
> Good catch. I have enabled it for debugging purpose, and then forget to
> disable it again. That should be fixed now. Thanks.

What about replacing DO_SINGLE_STEP, MIPS_SINGLE_STEP and SH4_SINGLE_STEP
(are there more of them?) by a command line option (-singlestep)
which allows setting this at run time?

The increase in execution time can be neglected.

Maybe changing single stepping from the Qemu monitor might also be useful.

Regards
Stefan Weil





reply via email to

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