qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] correct step to invoke a single step?


From: Peter Cheung
Subject: [Qemu-devel] correct step to invoke a single step?
Date: Sat, 16 Feb 2013 23:23:14 +0800

Hi All
    Is it the correct step to invoke a single step? It will fail when currec IP hit a breakpoint, but i can't find any different than the gdb stub.

static int sstep_flags = SSTEP_ENABLE | SSTEP_NOIRQ | SSTEP_NOTIMER;
CPUArchState *cpu = first_cpu;
cpu_single_step(cpu, sstep_flags);
vm_start();

Thanks
from Peter

reply via email to

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