Revision 38972938 target-i386/kvm.c

b/target-i386/kvm.c
790 790
#ifdef KVM_CAP_SET_GUEST_DEBUG
791 791
int kvm_arch_insert_sw_breakpoint(CPUState *env, struct kvm_sw_breakpoint *bp)
792 792
{
793
    const static uint8_t int3 = 0xcc;
793
    static const uint8_t int3 = 0xcc;
794 794

  
795 795
    if (cpu_memory_rw_debug(env, bp->pc, (uint8_t *)&bp->saved_insn, 1, 0) ||
796 796
        cpu_memory_rw_debug(env, bp->pc, (uint8_t *)&int3, 1, 1))

Also available in: Unified diff